|
|
@ -100,7 +100,7 @@ public class DemoDataConfig extends AbstractDataConfig { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public DemoDataConfig clone() throws CloneNotSupportedException { |
|
|
|
public DemoDataConfig clone() throws CloneNotSupportedException { |
|
|
|
DemoDataConfig result = new DemoDataConfig(); |
|
|
|
DemoDataConfig result = (DemoDataConfig)super.clone(); |
|
|
|
result.setX(this.getX().clone()); |
|
|
|
result.setX(this.getX().clone()); |
|
|
|
result.setTargetName(this.getTargetName()); |
|
|
|
result.setTargetName(this.getTargetName()); |
|
|
|
result.setY(this.getY().clone()); |
|
|
|
result.setY(this.getY().clone()); |
|
|
@ -119,6 +119,7 @@ public class DemoDataConfig extends AbstractDataConfig { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean equals(Object obj) { |
|
|
|
public boolean equals(Object obj) { |
|
|
|
return obj instanceof DemoDataConfig |
|
|
|
return obj instanceof DemoDataConfig |
|
|
|
|
|
|
|
&& super.equals(obj) |
|
|
|
&& AssistUtils.equals(this.getX(), ((DemoDataConfig) obj).getX()) |
|
|
|
&& AssistUtils.equals(this.getX(), ((DemoDataConfig) obj).getX()) |
|
|
|
&& AssistUtils.equals(this.getTargetName(), ((DemoDataConfig) obj).getTargetName()) |
|
|
|
&& AssistUtils.equals(this.getTargetName(), ((DemoDataConfig) obj).getTargetName()) |
|
|
|
&& AssistUtils.equals(this.getY(), ((DemoDataConfig) obj).getY()) |
|
|
|
&& AssistUtils.equals(this.getY(), ((DemoDataConfig) obj).getY()) |
|
|
|