This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch doc/2.x/since-tag in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 1ab0dbcf553dffc6b502fa11cda9a528ac895495 Author: Piotr P. Karwasz <[email protected]> AuthorDate: Sat Dec 28 17:00:47 2024 +0100 Document `log4j-api` changes in version 2.0.2 --- log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java b/log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java index ce7093c790..2ea536f712 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java @@ -70,6 +70,7 @@ public final class Strings { * * @param s the String to check, may be {@code null} * @return {@code true} if the String is {@code null}, empty, or all characters are {@link Character#isWhitespace(char)} + * @since 2.0.1 */ public static boolean isBlank(final String s) { if (s == null || s.isEmpty()) { @@ -118,6 +119,7 @@ public final class Strings { * * @param s the String to check, may be {@code null} * @return {@code true} if the String is non-{@code null} and has content after being trimmed. + * @since 2.0.1 */ public static boolean isNotBlank(final String s) { return !isBlank(s);
