Eliminate use of addAugmentation(Class, DataObject)
[mdsal.git] / binding / mdsal-binding-test-model / src / main / java / org / opendaylight / mdsal / binding / test / model / util / ListsBindingUtils.java
index 135d04768412527f1fa9b7e00e9f19f43099a8d4..8ace00fca759c534becf65d468300f778b98da0c 100644 (file)
@@ -70,7 +70,7 @@ public final class ListsBindingUtils {
     }
 
     public static TopLevelList topLevelList(final TopLevelListKey key, final TreeComplexUsesAugment augment) {
-        return new TopLevelListBuilder().withKey(key).addAugmentation(TreeComplexUsesAugment.class, augment).build();
+        return new TopLevelListBuilder().withKey(key).addAugmentation(augment).build();
     }
 
     public static TreeComplexUsesAugment complexUsesAugment(final ListViaUsesKey... keys) {
@@ -82,8 +82,6 @@ public final class ListsBindingUtils {
     }
 
     public static TreeLeafOnlyUsesAugment leafOnlyUsesAugment(final String leafFromGroupingValue) {
-
         return new TreeLeafOnlyUsesAugmentBuilder().setLeafFromGrouping(leafFromGroupingValue).build();
     }
-
 }