ThrawnCA commented on a change in pull request #278:
URL: https://github.com/apache/commons-lang/pull/278#discussion_r414263052
##########
File path: src/main/java/org/apache/commons/lang3/StringUtils.java
##########
@@ -9008,6 +9011,56 @@ public static String appendIfMissingIgnoreCase(final
String str, final CharSeque
return appendIfMissing(str, suffix, true, suffixes);
}
+ /**
+ * <p>Returns either the passed in String with the specified suffix
attached,
+ * or if the String is empty ("")/{@code null}, an empty string.</p>
+ *
+ * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p>
+ *
+ * <pre>
+ * StringUtils.appendIfNotBlank(null, " ") = ""
Review comment:
Fixed in latest commit.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]