git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024080 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-10-19 01:37:11 +00:00
parent 73623d108c
commit ff8d2b1afd
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public final class UnmodifiableBoundedCollection<E> extends AbstractCollectionDe
if (coll instanceof BoundedCollection == false) { if (coll instanceof BoundedCollection == false) {
throw new IllegalArgumentException("The collection is not a bounded collection"); throw new IllegalArgumentException("The collection is not a bounded collection");
} }
return new UnmodifiableBoundedCollection((BoundedCollection<E>) coll); return new UnmodifiableBoundedCollection<E>((BoundedCollection<E>) coll);
} }
/** /**