X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Futil%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Futil%2FUnmodifiableCollection.java;h=96895025b03766a5f5696a7ec9b04b9ee21b953e;hb=c24d6e2f39acbb11e22b5676bb7481ed52bec461;hp=9d5cfe1a72af84c5d2c48aa33c4892e496d8d9d4;hpb=f924c20549d1b3bd10e8359e2588e19560464933;p=yangtools.git
diff --git a/common/util/src/main/java/org/opendaylight/yangtools/util/UnmodifiableCollection.java b/common/util/src/main/java/org/opendaylight/yangtools/util/UnmodifiableCollection.java
index 9d5cfe1a72..96895025b0 100644
--- a/common/util/src/main/java/org/opendaylight/yangtools/util/UnmodifiableCollection.java
+++ b/common/util/src/main/java/org/opendaylight/yangtools/util/UnmodifiableCollection.java
@@ -24,10 +24,9 @@ import javax.annotation.Nonnull;
* {@link Collections#unmodifiableCollection(Collection)}, this class checks its
* argument to ensure multiple encapsulation does not occur.
*
- * this class checks
+ *
This class checks
* the argument so it prevents multiple encapsulation. Subclasses of
* {@link ImmutableCollection} are also recognized and not encapsulated.
- * An attempt is also made to identi
*
* @param the type of elements in this collection
*/
@@ -37,7 +36,7 @@ public final class UnmodifiableCollection implements Collection, Serializa
private static final Collection> SINGLETON_CLASSES;
static {
- UNMODIFIABLE_COLLECTION_CLASS = Collections.unmodifiableCollection(new ArrayList