CPD Results

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

Duplications

File Line
org/woehlke/computer/kurzweil/kochsnowflake/config/ComputerKurzweilProperties.java 713
org/woehlke/computer/kurzweil/kochsnowflake/config/ComputerKurzweilProperties.java 826
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/kochsnowflake/view/KochSnowflakeFrame.java 142
org/woehlke/computer/kurzweil/kochsnowflake/view/KochSnowflakeFrame.java 168
this.rectangleBounds = LatticeRectangle.of(mystartX, mystartY, mywidth, myheight);
        this.setBounds(
            this.rectangleBounds.getStart().getX(),
            this.rectangleBounds.getStart().getY(),
            this.rectangleBounds.getDimension().getWidth(),
            this.rectangleBounds.getDimension().getHeight()
        );
        this.setSize(
            this.rectangleBounds.getDimension().getWidth(),
            this.rectangleBounds.getDimension().getHeight()
        );
        this.setPreferredSize(
            new Dimension(
                this.rectangleBounds.getDimension().getWidth(),
                this.rectangleBounds.getDimension().getHeight()
            )
        );
        this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
File Line
org/woehlke/computer/kurzweil/kochsnowflake/config/ComputerKurzweilProperties.java 713
org/woehlke/computer/kurzweil/kochsnowflake/config/ComputerKurzweilProperties.java 826
org/woehlke/computer/kurzweil/kochsnowflake/config/ComputerKurzweilProperties.java 882
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/kochsnowflake/config/ComputerKurzweilProperties.java 426
org/woehlke/computer/kurzweil/kochsnowflake/config/ComputerKurzweilProperties.java 598
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;