You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2007/11/13 04:21:40 UTC

svn commit: r594410 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java

Author: bayard
Date: Mon Nov 12 19:21:39 2007
New Revision: 594410

URL: http://svn.apache.org/viewvc?rev=594410&view=rev
Log:
Fixing javadoc

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

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java?rev=594410&r1=594409&r2=594410&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java Mon Nov 12 19:21:39 2007
@@ -5126,8 +5126,8 @@
      *
      * @param strs  array of String objects, entries may be null
      * @return the initial sequence of characters that are common to all Strings
-     * in the array; empty String if the array is null or the strings in the
-     * array are all null; -1 if all Strings are equal
+     * in the array; empty String if the array is null, the elements are all null 
+     * or if there is no common prefix. 
      */
     public static String getCommonPrefix(String[] strs) {
         if (strs == null || strs.length == 0) {