diff --git a/src/java/org/apache/commons/collections/decorators/package.html b/src/java/org/apache/commons/collections/decorators/package.html index f13dfb220..1a158d3c0 100644 --- a/src/java/org/apache/commons/collections/decorators/package.html +++ b/src/java/org/apache/commons/collections/decorators/package.html @@ -9,16 +9,17 @@ The following decorator types are provided in the package:
Each collection can be constructed using a static decorate()
method on
the class. They can also be constructed from the XxxUtils
class where
Xxx is the collection type.
-List stringOnlyList = TypedList(new ArrayList(), String.class); +List stringOnlyList = TypedList.decorate(new ArrayList(), String.class); List otherStringOnlyList = ListUtils.typedList(new ArrayList(), String.class);