Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Drop unneeded generic type specifiers
[yangtools.git]
/
common
/
util
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
util
/
SingletonSet.java
diff --git
a/common/util/src/main/java/org/opendaylight/yangtools/util/SingletonSet.java
b/common/util/src/main/java/org/opendaylight/yangtools/util/SingletonSet.java
index 9587d1104efcfb4340ab8d64725b5f34436059eb..8f036931329cce6ec99db8e9ec4595677f8f10a2 100644
(file)
--- a/
common/util/src/main/java/org/opendaylight/yangtools/util/SingletonSet.java
+++ b/
common/util/src/main/java/org/opendaylight/yangtools/util/SingletonSet.java
@@
-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();