commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1082416 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
Date Thu, 17 Mar 2011 06:59:15 GMT
Author: bayard
Date: Thu Mar 17 06:59:15 2011
New Revision: 1082416

URL: http://svn.apache.org/viewvc?rev=1082416&view=rev
Log:
Adding comment on the hidden (for now) methods

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java?rev=1082416&r1=1082415&r2=1082416&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java Thu
Mar 17 06:59:15 2011
@@ -6417,7 +6417,10 @@ public class StringUtils {
     }
 
     // The following methods are used to support basic java.lang.String functionality 
-    // for CharSequences
+    // for CharSequences. Currently keeping these as package private; they may be 
+    // useful as public methods so others can also support CharSequence instead of 
+    // String. At that point they may make more sense on a CharSequenceUtils and 
+    // will want a name change.
 
     // Used by the indexOf(CharSequence methods) as a green implementation of indexOf
     static int indexOfSequence(CharSequence cs, int searchChar, int start) {



Mime
View raw message