CPD Results

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

Duplications

File Line
org/woehlke/computer/kurzweil/lucky/mouses/model/mouses/LinkedListNodeContainer.java 260
org/woehlke/computer/kurzweil/lucky/mouses/model/mouses/LinkedListNodeContainer.java 280
n[0].setNext(n[1]);
        n[1].setNext(n[2]);
        n[2].setNext(n[3]);
        n[3].setNext(n[4]);
        n[4].setNext(n[5]);
        n[5].setNext(n[6]);
        n[6].setNext(n[7]);
        n[7].setNext(n[0]);
        List<LinkedListNode> nn = new ArrayList<>();
        for(LinkedListNode o:n){
            nn.add(o);
        }
        return nn;
    }

    public List<LinkedListNode> copyNodes(List<LinkedListNode> polygonOld){
File Line
org/woehlke/computer/kurzweil/lucky/mouses/config/ComputerKurzweilProperties.java 548
org/woehlke/computer/kurzweil/lucky/mouses/config/ComputerKurzweilProperties.java 605
public static class Kochsnowflake {

        @Valid
        public View view = new View();

        @Valid
        public Control control = new Control();

        @ToString
        @Getter
        @Setter
        public static class View {

            @NotBlank
            private String title;

            @NotBlank
            private String subtitle;

            @Valid
            public Neighborhood neighborhood = new Neighborhood();

            @ToString
            @Getter
            @Setter
            public static class Neighborhood {

                @NotBlank
                private String title;

                @NotBlank
                private String typeVonNeumann;

                @NotBlank
                private String typeMoore;

                @NotBlank
                private String typeWoehlke;
            }
        }

        @ToString
        @Getter
        @Setter
        public static class Control {

            @NotNull
            private Integer threadSleepTime;

            @NotNull
            private Integer numberOfParticles;
        }
    }

    @ToString
    @Getter
    @Setter
    public static class Samegame {
File Line
org/woehlke/computer/kurzweil/lucky/mouses/config/ComputerKurzweilProperties.java 709
org/woehlke/computer/kurzweil/lucky/mouses/config/ComputerKurzweilProperties.java 900
public static class Tetris {

        @Valid
        public View view = new View();

        @Valid
        public Control control = new Control();

        @Getter
        @Setter
        @ToString
        public static class View {

            @NotBlank
            private String title;

            @NotBlank
            private String subtitle;

            @Valid
            public Neighborhood neighborhood = new Neighborhood();

            @Getter
            @Setter
            @ToString
            public static class Neighborhood {
                @NotBlank
                private String title;

                @NotBlank
                private String typeVonNeumann;

                @NotBlank
                private String typeMoore;

                @NotBlank
                private String typeWoehlke;
            }
        }

        @Getter
        @Setter
        @ToString
        public static class Control {

            @NotNull
            private Integer threadSleepTime;

            @NotNull
            private Integer numberOfParticles;
        }
    }

    @Getter
    @Setter
    @ToString
    public static class Turmite {
File Line
org/woehlke/computer/kurzweil/lucky/mouses/config/ComputerKurzweilProperties.java 709
org/woehlke/computer/kurzweil/lucky/mouses/config/ComputerKurzweilProperties.java 900
org/woehlke/computer/kurzweil/lucky/mouses/config/ComputerKurzweilProperties.java 956
public static class Tetris {

        @Valid
        public View view = new View();

        @Valid
        public Control control = new Control();

        @Getter
        @Setter
        @ToString
        public static class View {

            @NotBlank
            private String title;

            @NotBlank
            private String subtitle;

            @Valid
            public Neighborhood neighborhood = new Neighborhood();

            @Getter
            @Setter
            @ToString
            public static class Neighborhood {
                @NotBlank
                private String title;

                @NotBlank
                private String typeVonNeumann;

                @NotBlank
                private String typeMoore;

                @NotBlank
                private String typeWoehlke;
            }
        }

        @Getter
        @Setter
        @ToString
        public static class Control {

            @NotNull
            private Integer threadSleepTime;

            @NotNull
            private Integer numberOfParticles;
        }
    }
File Line
org/woehlke/computer/kurzweil/lucky/mouses/config/ComputerKurzweilProperties.java 425
org/woehlke/computer/kurzweil/lucky/mouses/config/ComputerKurzweilProperties.java 548
org/woehlke/computer/kurzweil/lucky/mouses/config/ComputerKurzweilProperties.java 605
public static class Cca {

        @Valid
        public View view = new View();

        @Valid
        public Control control = new Control();

        @ToString
        @Getter
        @Setter
        public static class View {

            @NotBlank
            private String title;

            @NotBlank
            private String subtitle;

            @Valid
            public Neighborhood neighborhood = new Neighborhood();

            @ToString
            @Getter
            @Setter
            public static class Neighborhood {

                @NotBlank
                private String title;

                @NotBlank
                private String typeVonNeumann;

                @NotBlank
                private String typeMoore;

                @NotBlank
                private String typeWoehlke;
            }
        }

        @ToString
        @Getter
        @Setter
        public static class Control {

            @NotNull
            private Integer threadSleepTime;