From 28a71ba3ba2f2798fb809246177e7eb5e626edb4 Mon Sep 17 00:00:00 2001 From: Morgan James Delagrange Date: Fri, 1 Mar 2002 18:58:05 +0000 Subject: [PATCH] javadoc clarification git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130621 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/collections/comparators/ReverseComparator.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/collections/comparators/ReverseComparator.java b/src/java/org/apache/commons/collections/comparators/ReverseComparator.java index 83b16e4b1..8e3cbb001 100644 --- a/src/java/org/apache/commons/collections/comparators/ReverseComparator.java +++ b/src/java/org/apache/commons/collections/comparators/ReverseComparator.java @@ -60,7 +60,7 @@ import java.util.Comparator; * Reverses the order of another comparator. * * @author bayard@generationjava.com - * @version $Id: ReverseComparator.java,v 1.2 2002/03/01 18:56:53 morgand Exp $ + * @version $Id: ReverseComparator.java,v 1.3 2002/03/01 18:58:05 morgand Exp $ */ public class ReverseComparator implements Comparator { @@ -70,6 +70,8 @@ public class ReverseComparator implements Comparator { * Creates a reverse comparator that will invert any List. * It merely reverses the existing order; it does not * reorder the List according to reverse "natural" order. + * In many cases, a better alternative to this is + * the reverse(List) method of java.util.Collection. */ public ReverseComparator() { }