Another round of checkstyle fixes
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc7950 / TypeStatementRfc7950Support.java
index 25127b79f8b9c8d37a0f9b1080a67dab8f95d9b2..2252525c789358f60b3b6a8e1c4facc9f7d5e231 100644 (file)
@@ -19,10 +19,10 @@ import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.TypeUtils;
  */
 @Beta
 public final class TypeStatementRfc7950Support extends TypeStatementImpl.Definition {
-    private static final Map<String, StatementSupport<?, ?, ?>> ARGUMENT_SPECIFIC_SUPPORTS = ImmutableMap
-            .<String, StatementSupport<?, ?, ?>> builder()
-            .put(TypeUtils.LEAF_REF, new LeafrefSpecificationRfc7950Support())
-            .put(TypeUtils.IDENTITY_REF, new IdentityrefSpecificationRfc7950Support()).build();
+    private static final Map<String, StatementSupport<?, ?, ?>> ARGUMENT_SPECIFIC_SUPPORTS =
+            ImmutableMap.<String, StatementSupport<?, ?, ?>>of(
+                TypeUtils.LEAF_REF, new LeafrefSpecificationRfc7950Support(),
+                TypeUtils.IDENTITY_REF, new IdentityrefSpecificationRfc7950Support());
 
     @Override
     public boolean hasArgumentSpecificSupports() {