Get rid of CheckedFutures
[mdsal.git] / binding2 / mdsal-binding2-runtime / src / main / java / org / opendaylight / mdsal / binding / javav2 / runtime / context / BindingRuntimeContext.java
index cc1f991a9edaadbdafe1676b0eab0d225554ae98..6ed1f56444ea63637cc48384e5e2b46eb34836e7 100755 (executable)
@@ -24,7 +24,6 @@ import java.util.AbstractMap.SimpleEntry;
 import java.util.Collection;
 import java.util.HashMap;
 import java.util.HashSet;
-import java.util.List;
 import java.util.Map;
 import java.util.Map.Entry;
 import java.util.Set;
@@ -429,7 +428,7 @@ public class BindingRuntimeContext implements Immutable {
         }
     }
 
-    private boolean isLocalAugment(final AugmentationTarget container, final AugmentationSchemaNode augment) {
+    private static boolean isLocalAugment(final AugmentationTarget container, final AugmentationSchemaNode augment) {
         Preconditions.checkState(container instanceof SchemaNode);
         final QName root = ((SchemaNode) container).getPath().getPathFromRoot().iterator().next();
         // findFirst makes no sense but just pick up one child to judge whether the target node is