Moving the @since 2.5 to the correct repeat method

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@931757 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2010-04-08 02:42:52 +00:00
parent 2621b9b3d6
commit 43a338ac6c
1 changed files with 1 additions and 1 deletions

View File

@ -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) {