Switched codecs infrastructure to use yang-data-impl codecs
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / java / org / opendaylight / controller / sal / restconf / impl / test / structures / LfLst.java
index 87fed95f6ff15b4a2a3800a0adaa25c1aaf62ba0..dda590944ace0f6bd5cf6c1462a1e352af016358 100644 (file)
@@ -1,6 +1,7 @@
 package org.opendaylight.controller.sal.restconf.impl.test.structures;
 
-import java.util.*;
+import java.util.HashSet;
+import java.util.Set;
 
 public class LfLst extends YangElement {
     Set<Lf> lfs;
@@ -10,11 +11,10 @@ public class LfLst extends YangElement {
         lfs = new HashSet<>();
     }
 
-    public LfLst addLf(String value) {
+    public LfLst addLf(Object value) {
         return addLf(new Lf(value));
     }
 
-    
     public LfLst addLf(Lf lf) {
         while (this.lfs.contains(lf)) {
             lf.incNumOfEqualItems();