Add missing @since tags for new StringUtils methods

This commit is contained in:
Benedikt Ritter 2016-09-11 15:33:01 +02:00
parent d4fe06de87
commit de125de49a
1 changed files with 2 additions and 0 deletions

View File

@ -4589,6 +4589,7 @@ public static String join(final Iterable<?> iterable, final String separator) {
* @param objects the varargs providing the values to join together. {@code null} elements are treated as "" * @param objects the varargs providing the values to join together. {@code null} elements are treated as ""
* @return the joined String. * @return the joined String.
* @throws java.lang.IllegalArgumentException if a null varargs is provided * @throws java.lang.IllegalArgumentException if a null varargs is provided
* @since 3.5
*/ */
public static String joinWith(final String separator, final Object... objects) { public static String joinWith(final String separator, final Object... objects) {
if (objects == null) { if (objects == null) {
@ -7042,6 +7043,7 @@ public static <T extends CharSequence> T defaultIfEmpty(final T str, final T def
* @return the rotated String, * @return the rotated String,
* or the original String if {@code shift == 0}, * or the original String if {@code shift == 0},
* or {@code null} if null String input * or {@code null} if null String input
* @since 3.5
*/ */
public static String rotate(String str, int shift) { public static String rotate(String str, int shift) {
if (str == null) { if (str == null) {