Mechanical code cleanup (sal-common-impl)
[controller.git] / opendaylight / md-sal / sal-common-impl / src / main / java / org / opendaylight / controller / md / sal / common / impl / util / compat / DataSchemaContainerProxy.java
index d243c888bd155924db61fb65d5308975cc0939a8..4c24c8a7f500c250237ce04cd4e055a42d003121 100644 (file)
@@ -26,7 +26,7 @@ class DataSchemaContainerProxy implements DataNodeContainer {
 
     public DataSchemaContainerProxy(final Set<DataSchemaNode> realChildSchema) {
         realChildSchemas = realChildSchema;
-        mappedChildSchemas = new HashMap<QName, DataSchemaNode>();
+        mappedChildSchemas = new HashMap<>();
         for(DataSchemaNode schema : realChildSchemas) {
             mappedChildSchemas.put(schema.getQName(),schema);
         }
@@ -42,11 +42,6 @@ class DataSchemaContainerProxy implements DataNodeContainer {
         return realChildSchemas;
     }
 
-    @Override
-    public DataSchemaNode getDataChildByName(final String arg0) {
-        throw new UnsupportedOperationException();
-    }
-
     @Override
     public Set<GroupingDefinition> getGroupings() {
         return Collections.emptySet();