commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1066348 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/CharSequenceTranslator.java
Date Wed, 02 Feb 2011 06:38:09 GMT
Author: bayard
Date: Wed Feb  2 06:38:08 2011
New Revision: 1066348

URL: http://svn.apache.org/viewvc?rev=1066348&view=rev
Log:
Removing the note on '2' being in the API. That can be dealt with if people find doubling
to be an issue

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/CharSequenceTranslator.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/CharSequenceTranslator.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/CharSequenceTranslator.java?rev=1066348&r1=1066347&r2=1066348&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/CharSequenceTranslator.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/CharSequenceTranslator.java
Wed Feb  2 06:38:08 2011
@@ -56,7 +56,7 @@ public abstract class CharSequenceTransl
             return null;
         }
         try {
-            StringWriter writer = new StringWriter(input.length() * 2);  // TODO: Make the
2 part of the API???
+            StringWriter writer = new StringWriter(input.length() * 2);
             translate(input, writer);
             return writer.toString();
         } catch (IOException ioe) {



Mime
View raw message