commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r931440 - /commons/proper/lang/tags/LANG_2_5/src/main/java/org/apache/commons/lang/StringUtils.java
Date Wed, 07 Apr 2010 06:09:08 GMT
Author: bayard
Date: Wed Apr  7 06:09:08 2010
New Revision: 931440

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

Modified:
    commons/proper/lang/tags/LANG_2_5/src/main/java/org/apache/commons/lang/StringUtils.java

Modified: commons/proper/lang/tags/LANG_2_5/src/main/java/org/apache/commons/lang/StringUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/tags/LANG_2_5/src/main/java/org/apache/commons/lang/StringUtils.java?rev=931440&r1=931439&r2=931440&view=diff
==============================================================================
--- commons/proper/lang/tags/LANG_2_5/src/main/java/org/apache/commons/lang/StringUtils.java
(original)
+++ commons/proper/lang/tags/LANG_2_5/src/main/java/org/apache/commons/lang/StringUtils.java
Wed Apr  7 06:09:08 2010
@@ -4516,7 +4516,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)
@@ -4580,6 +4579,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