Remove useless UnsupportedOperationException throws
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / Immutables.java
index 47bf5ab7568a919436d2280987ac308ea7b3fa24..f8639de7f825def3772cb1f18b67a5efb5a2c7f9 100644 (file)
@@ -16,15 +16,14 @@ import org.opendaylight.yangtools.concepts.Immutable;
 import org.opendaylight.yangtools.concepts.Mutable;
 
 public final class Immutables {
-
-    private Immutables() {
-        throw new UnsupportedOperationException("Helper class");
-    }
-
     private static final ImmutableSet<Class<?>> KNOWN_IMMUTABLES = ImmutableSet.of(
             Integer.class, Short.class, BigDecimal.class, BigInteger.class, Byte.class, Character.class, Double.class,
             Float.class, String.class, Boolean.class, Void.class);
 
+    private Immutables() {
+        // Hidden on purpose
+    }
+
     /**
      * Determines if object is known to be immutable
      *