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:
parent
2621b9b3d6
commit
43a338ac6c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue