##### Struts 1

- Welcome
- Learning
- Roadmap
- Releases

##### Documentation

- User Guide
- FAQs and HOWTOs
- Release Notes
- Javadoc
- DTDDoc

##### Support

- User Mailing List
- Issue Tracker (JIRA)
- Wiki Pages

##### Components

- Struts Apps
- Struts EL
- Struts Extras
- Struts Faces
- Struts Scripting
- Struts Taglib
- Struts Tiles

##### Project Documentation

- Project Information
- Project Reports
  - Checkstyle
  - CPD Report
  - DTDDoc
  - JavaDocs
  - PMD Report
  - Source Xref
  - Surefire Report
  - Test JavaDocs
  - Test Source Xref

## CPD Results

The following document contains the results of PMD's CPD 4.2.2.

## Duplications

File | Line
--- | ---
org\apache\struts\mock\MockPageContext.java | 266
org\apache\struts\mock\MockPageContext.java | 411
                        public void print(String s)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void print(Object obj)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void println()
                            throws IOException {
                            checkAndThrow();
                        }

                        public void println(boolean x)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void println(char x)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void println(int x)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void println(long x)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void println(float x)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void println(double x)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void println(char[] x)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void println(String x)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void println(Object x)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void clear()
                            throws IOException {
                            checkAndThrow();
                        }

                        public void clearBuffer()
                            throws IOException {
                            checkAndThrow();
                        }

                        public void close()

File | Line
--- | ---
org\apache\struts\mock\MockPageContext.java | 226
org\apache\struts\mock\MockPageContext.java | 366
                        public void writeOut(Writer out)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void newLine()
                            throws IOException {
                            checkAndThrow();
                        }

                        public void print(boolean b)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void print(char c)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void print(int i)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void print(long l)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void print(float f)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void print(double d)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void print(char[] s)
                            throws IOException {
                            checkAndThrow();
                        }

                        public void print(String s)

File | Line
--- | ---
org\apache\struts\action\ActionMessages.java | 206
org\apache\struts\action\ActionMessages.java | 274
            if (messages.isEmpty()) {
                return Collections.EMPTY_LIST.iterator();
            }

            ArrayList results = new ArrayList();
            ArrayList actionItems = new ArrayList();

            for (Iterator i = messages.values().iterator(); i.hasNext();) {
                actionItems.add(i.next());
            }

            // Sort ActionMessageItems based on the initial order the
            // property/key was added to ActionMessages.
            Collections.sort(actionItems, ACTION_ITEM_COMPARATOR);

            for (Iterator i = actionItems.iterator(); i.hasNext();) {
                ActionMessageItem ami = (ActionMessageItem) i.next();