From cd91a4f2cd0ced1178e8fd1f49229196eb88094c Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Mon, 22 Apr 2013 04:18:24 +0000 Subject: [PATCH] Adding a javadoc note regarding LANG-882 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1470384 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/lang3/text/translate/LookupTranslator.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/apache/commons/lang3/text/translate/LookupTranslator.java b/src/main/java/org/apache/commons/lang3/text/translate/LookupTranslator.java index 72d69299c..d6cb07768 100644 --- a/src/main/java/org/apache/commons/lang3/text/translate/LookupTranslator.java +++ b/src/main/java/org/apache/commons/lang3/text/translate/LookupTranslator.java @@ -22,6 +22,10 @@ import java.util.HashMap; /** * Translates a value using a lookup table. + * + * NOTE: This class is broken for any CharSequence implementation that does not define + * equals(Object) and hashCode() methods as the class uses the CharSequence as + * the key to a HashMap. See http://issues.apache.org/jira/browse/LANG-882. * * @since 3.0 * @version $Id$