Mechanical code cleanup (config)
[controller.git] / opendaylight / config / config-manager-facade-xml / src / main / java / org / opendaylight / controller / config / facade / xml / mapping / attributes / resolving / ArrayAttributeResolvingStrategy.java
index 021e065e7ed0541f30081d77e61ab49201672b0a..73b9dd9cbce28dfc9997550b924b3c32bbe20f9d 100644 (file)
@@ -77,7 +77,8 @@ final class ArrayAttributeResolvingStrategy extends AbstractAttributeResolvingSt
         // Rebuild open type. Underlying composite types might have changed
         if (innerTypeResolvingStrategy.getOpenType() instanceof CompositeType) {
             try {
-                final ArrayType<?> openType = new ArrayType<Object>(getOpenType().getDimension(), innerTypeResolvingStrategy.getOpenType());
+                final ArrayType<?> openType =
+                        new ArrayType<>(getOpenType().getDimension(), innerTypeResolvingStrategy.getOpenType());
                 setOpenType(openType);
             } catch (OpenDataException e) {
                 throw new IllegalStateException("An error occurred during restoration of array type " + this