This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 9e9d293755c23422cae1a1084a771abac1b30f2a Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Jun 3 07:30:55 2024 -0400 Null check is redundant for rare case --- src/main/java/org/apache/commons/lang3/StringUtils.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index bfaba57c1..fa3a69071 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -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);