CPD Results

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

Duplications

FileLine
org\apache\struts\mock\MockPageContext.java266
org\apache\struts\mock\MockPageContext.java411
                    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()

FileLine
org\apache\struts\mock\MockPageContext.java226
org\apache\struts\mock\MockPageContext.java366
                    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)

FileLine
org\apache\struts\action\ActionMessages.java206
org\apache\struts\action\ActionMessages.java274
        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();