Replace copyTo methods with copy constructors
[policy/models.git] / models-base / src / test / java / org / onap / policy / models / base / testconcepts / DummyPfKey.java
index 944c1e6..058ef37 100644 (file)
@@ -33,6 +33,12 @@ import org.onap.policy.models.base.PfValidationResult;
 public class DummyPfKey extends PfKey {
     private static final long serialVersionUID = 1L;
 
+    public DummyPfKey() { }
+
+    public DummyPfKey(DummyPfKey source) {
+        super(source);
+    }
+
     @Override
     public int compareTo(PfConcept arg0) {
         return 0;
@@ -93,11 +99,6 @@ public class DummyPfKey extends PfKey {
         return 0;
     }
 
-    @Override
-    public PfConcept copyTo(PfConcept target) {
-        return null;
-    }
-
     @Override
     public boolean isNewerThan(@NonNull PfKey otherKey) {
         // TODO Auto-generated method stub