CPD Results
The following document contains the results of PMD's CPD 6.53.0.
Duplications
File |
Line |
org/woehlke/computer/kurzweil/wator/config/ComputerKurzweilProperties.java |
201 |
org/woehlke/computer/kurzweil/wator/config/ComputerKurzweilProperties.java |
791 |
public GardenOfEden gardenOfEden = new GardenOfEden();
@ToString
@Getter
@Setter
public static class View {
@NotBlank
private String title;
@NotBlank
private String subtitle;
@NotBlank
private String copyright;
@NotNull
private Integer width;
@NotNull
private Integer height;
@NotNull
private Integer scale;
}
@ToString
@Getter
@Setter
public static class Control {
@NotNull
private Integer threadSleepTime;
@NotNull
private Integer exitStatus;
@NotNull
private Integer queueMaxLength;
}
@ToString
@Getter
@Setter
public static class CellConf {
@NotNull
private Integer fatMax;
@NotNull
private Integer fatHungerMax;
@NotNull
private Integer fatMinimumForSex;
@NotNull
private Integer fatAtBirth;
@NotNull
private Integer fatPerFood;
@NotNull
private Integer ageOfAdulthood;
@NotNull
private Integer ageOld;
@NotNull
private Integer ageMax;
}
@ToString
@Getter
@Setter
public static class Population {
@NotNull
private Integer initialPopulation;
@NotBlank
private String panelPopulationStatistics;
@NotBlank
private String youngCellsLabel;
@NotBlank
private String youngAndFatCellsLabel;
@NotBlank
private String fullAgeCellsLabel;
@NotBlank
private String hungryCellsLabel;
@NotBlank
private String oldCellsLabel;
@NotBlank
private String populationLabel;
@NotBlank
private String generationOldestLabel;
@NotBlank
private String generationYoungestLabel;
}
@ToString
@Getter
@Setter
public static class Food {
@NotNull
private Integer foodPerDay;
@NotNull
private Integer foodPerDayFieldColumns;
@NotBlank
private String foodPerDayLabel;
@NotBlank
private String foodPerDayBorderLabel;
@NotBlank
private String buttonFoodPerDayIncrease;
@NotBlank
private String buttonFoodPerDayDecrease;
@NotBlank
private String panelFood;
}
@ToString
@Getter
@Setter
public static class GardenOfEden {
@NotBlank
private String panelGardenOfEden;
@NotNull
private Boolean gardenOfEdenEnabled;
@NotBlank
private String gardenOfEdenEnabledString;
@NotBlank
private String gardenOfEdenEnabledToggleButton;
@NotNull
private Integer foodPerDay;
@NotNull
private Integer gardenOfEdenLatticeDivisor;
@NotNull
private Integer gardenOfEdenLatticeDivisorPadding;
}
}
@ToString |
File |
Line |
org/woehlke/computer/kurzweil/wator/view/canvas/population/PopulationStatisticsElementsPanelCounted.java |
99 |
org/woehlke/computer/kurzweil/wator/view/tabs/SubTabImpl.java |
75 |
private CompoundBorder getDoubleBorder(){
int left = this.getProperties().getAllinone().getView().getBorderPaddingX();
int right = this.getProperties().getAllinone().getView().getBorderPaddingX();
int top = this.getProperties().getAllinone().getView().getBorderPaddingY();
int bottom = this.getProperties().getAllinone().getView().getBorderPaddingY();
return BorderFactory.createCompoundBorder(
BorderFactory.createEmptyBorder(left,right,top,bottom),
BorderFactory.createEmptyBorder(left,right,top,bottom)
);
}
} |
File |
Line |
org/woehlke/computer/kurzweil/wator/config/ComputerKurzweilProperties.java |
489 |
org/woehlke/computer/kurzweil/wator/config/ComputerKurzweilProperties.java |
546 |
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/wator/view/canvas/population/PopulationStatisticsElementsPanelCounted.java |
99 |
org/woehlke/computer/kurzweil/wator/view/canvas/population/PopulationStatisticsElementsPanelLifeCycle.java |
116 |
org/woehlke/computer/kurzweil/wator/view/tabs/SubTabImpl.java |
75 |
private CompoundBorder getDoubleBorder(){
int left = this.getProperties().getAllinone().getView().getBorderPaddingX();
int right = this.getProperties().getAllinone().getView().getBorderPaddingX();
int top = this.getProperties().getAllinone().getView().getBorderPaddingY();
int bottom = this.getProperties().getAllinone().getView().getBorderPaddingY();
return BorderFactory.createCompoundBorder(
BorderFactory.createEmptyBorder(left,right,top,bottom),
BorderFactory.createEmptyBorder(left,right,top,bottom)
);
}
} |
File |
Line |
org/woehlke/computer/kurzweil/wator/config/ComputerKurzweilProperties.java |
660 |
org/woehlke/computer/kurzweil/wator/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/wator/config/ComputerKurzweilProperties.java |
366 |
org/woehlke/computer/kurzweil/wator/config/ComputerKurzweilProperties.java |
489 |
org/woehlke/computer/kurzweil/wator/config/ComputerKurzweilProperties.java |
546 |
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; |