Null check is redundant for rare case

This commit is contained in:
Gary Gregory 2024-06-03 07:30:55 -04:00
parent fd4282b830
commit 9e9d293755
1 changed files with 0 additions and 3 deletions

View File

@ -7103,9 +7103,6 @@ public class StringUtils {
* @since 2.0
*/
public static String reverseDelimited(final String str, final char separatorChar) {
if (str == null) {
return null;
}
final String[] strs = split(str, separatorChar);
ArrayUtils.reverse(strs);
return join(strs, separatorChar);