commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r931757 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
Date Thu, 08 Apr 2010 02:42:52 GMT
Author: bayard
Date: Thu Apr  8 02:42:52 2010
New Revision: 931757

URL: http://svn.apache.org/viewvc?rev=931757&view=rev
Log:
Moving the @since 2.5 to the correct repeat method

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=931757&r1=931756&r2=931757&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
Apr  8 02:42:52 2010
@@ -4385,7 +4385,6 @@ public class StringUtils {
      * @param repeat  number of times to repeat str, negative treated as zero
      * @return a new String consisting of the original String repeated,
      *  <code>null</code> if null String input
-     * @since 2.5
      */
     public static String repeat(String str, int repeat) {
         // Performance tuned for 2.0 (JDK1.4)
@@ -4449,6 +4448,7 @@ public class StringUtils {
      * @param repeat     number of times to repeat str, negative treated as zero
      * @return a new String consisting of the original String repeated,
      *  <code>null</code> if null String input
+     * @since 2.5
      */
     public static String repeat(String str, String separator, int repeat) {
         if(str == null || separator == null) {



Mime
View raw message