CPD Results
The following document contains the results of PMD's CPD 6.28.0.
Duplications
File |
Line |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
557 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
622 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
687 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
752 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
817 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
882 |
public static class Kochsnowflake {
@Valid
@Getter
@Setter
public View view = new View();
@Valid
@Getter
@Setter
public Control control = new Control();
//@Validated
@ToString
public static class View {
@NotBlank
@Getter
@Setter
private String title;
@NotBlank
@Getter
@Setter
private String subtitle;
@Valid
@Getter
@Setter
public Neighborhood neighborhood = new Neighborhood();
//@Validated
@ToString
public static class Neighborhood {
@NotBlank
@Getter
@Setter
private String title;
@NotBlank
@Getter
@Setter
private String typeVonNeumann;
@NotBlank
@Getter
@Setter
private String typeMoore;
@NotBlank
@Getter
@Setter
private String typeWoehlke;
}
}
//@Validated
@ToString
public static class Control {
@NotNull
@Getter
@Setter
private Integer threadSleepTime;
@NotNull
@Getter
@Setter
private Integer numberOfParticles;
}
}
@ToString
public static class Samegame { |
File |
Line |
org/woehlke/computer/kurzweil/tabs/simulatedevolution/canvas/population/PopulationStatisticsElementsPanelCounted.java |
46 |
org/woehlke/computer/kurzweil/tabs/simulatedevolution/canvas/population/PopulationStatisticsElementsPanelLifeCycle.java |
49 |
public PopulationStatisticsElementsPanelCounted(
SimulatedEvolutionContext tabCtx
) {
super(tabCtx.getCtx().getProperties().getSimulatedevolution().getPopulation().getPanelPopulationStatistics(),tabCtx.getCtx().getProperties());
this.tabCtx = tabCtx;
layoutSubPanel = new FlowLayout();
this.setLayout(layoutSubPanel);
borderLabel = this.tabCtx.getCtx().getProperties().getSimulatedevolution().getPopulation().getPanelPopulationStatistics();
layout = new FlowLayoutCenter();
border = tabCtx.getCtx().getBottomButtonsPanelBorder(borderLabel);
this.setLayout(layout);
this.setBorder(border);
ComputerKurzweilProperties.SimulatedEvolution.Population cfg = this.tabCtx.getCtx().getProperties().getSimulatedevolution().getPopulation();
initialPopulation = cfg.getInitialPopulation(); |
File |
Line |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
418 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
557 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
622 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
687 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
752 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
817 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilProperties.java |
882 |
public static class Cca {
@Valid
@Getter
@Setter
public View view = new View();
@Valid
@Getter
@Setter
public Control control = new Control();
//@Validated
@ToString
public static class View {
@NotBlank
@Getter
@Setter
private String title;
@NotBlank
@Getter
@Setter
private String subtitle;
@Valid
@Getter
@Setter
public Neighborhood neighborhood = new Neighborhood();
//@Validated
@ToString
public static class Neighborhood {
@NotBlank
@Getter
@Setter
private String title;
@NotBlank
@Getter
@Setter
private String typeVonNeumann;
@NotBlank
@Getter
@Setter
private String typeMoore;
@NotBlank
@Getter
@Setter
private String typeWoehlke;
}
}
////@Validated
@ToString
public static class Control {
@NotNull
@Getter
@Setter
private Integer threadSleepTime; |
File |
Line |
org/woehlke/computer/kurzweil/application/ComputerKurzweilContext.java |
60 |
org/woehlke/computer/kurzweil/commons/widgets/SubTabImpl.java |
49 |
);
}
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/application/ComputerKurzweilContext.java |
63 |
org/woehlke/computer/kurzweil/application/ComputerKurzweilContext.java |
74 |
org/woehlke/computer/kurzweil/commons/widgets/SubTabImpl.java |
52 |
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)
);
} |