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:46:50 UTC

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

Author: bayard
Date: Mon Nov 12 19:46:49 2007
New Revision: 594416

URL: http://svn.apache.org/viewvc?rev=594416&view=rev
Log:
Adding @since tags to the two new methods

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=594416&r1=594415&r2=594416&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:46:49 2007
@@ -5037,6 +5037,7 @@
      *
      * @param strs  array of strings, entries may be null
      * @return the index where the strings begin to differ; -1 if they are all equal
+     * @since 2.4
      */
     public static int indexOfDifference(String[] strs) {
         if (strs == null || strs.length <= 1) {
@@ -5128,6 +5129,7 @@
      * @return the initial sequence of characters that are common to all Strings
      * in the array; empty String if the array is null, the elements are all null 
      * or if there is no common prefix. 
+     * @since 2.4
      */
     public static String getCommonPrefix(String[] strs) {
         if (strs == null || strs.length == 0) {