Drop unneeded generic type specifiers
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / SingletonSet.java
index 9587d1104efcfb4340ab8d64725b5f34436059eb..8f036931329cce6ec99db8e9ec4595677f8f10a2 100644 (file)
@@ -58,7 +58,7 @@ public abstract class SingletonSet<E> implements Set<E>, Immutable, Serializable
         if (element == null) {
             return (SingletonSet<E>) NULL_SINGLETON;
         }
-        return new RegularSingletonSet<E>(element);
+        return new RegularSingletonSet<>(element);
     }
 
     public abstract E getElement();