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 40accd6917afddd66cfa32a52ea28bd6efa92845
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Sat Dec 28 18:39:29 2024 +0100

    Document `log4j-api` changes in version 2.7
---
 .../src/main/java/org/apache/logging/log4j/util/StringBuilders.java    | 1 +
 log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java     | 3 +++
 2 files changed, 4 insertions(+)

diff --git 
a/log4j-api/src/main/java/org/apache/logging/log4j/util/StringBuilders.java 
b/log4j-api/src/main/java/org/apache/logging/log4j/util/StringBuilders.java
index 66e94d27d5..2fd901cfe3 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/util/StringBuilders.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/util/StringBuilders.java
@@ -93,6 +93,7 @@ public final class StringBuilders {
      *
      * @param stringBuilder the StringBuilder to append the value to
      * @param obj the object whose text representation to append to the 
StringBuilder
+     * @since 2.7
      */
     public static void appendValue(final StringBuilder stringBuilder, final 
Object obj) {
         if (!appendSpecificTypes(stringBuilder, obj)) {
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 f8da867d60..ec8fa62867 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
@@ -51,6 +51,7 @@ public final class Strings {
     /**
      * OS-dependent line separator, defaults to {@code "\n"} if the system 
property {@code ""line.separator"} cannot be
      * read.
+     * @since 2.7
      */
     public static final String LINE_SEPARATOR = System.lineSeparator();
 
@@ -160,6 +161,7 @@ public final class Strings {
      * @param iterable  the {@code Iterable} providing the values to join 
together, may be null
      * @param separator  the separator character to use
      * @return the joined String, {@code null} if null iterator input
+     * @since 2.7
      */
     public static String join(final Iterable<?> iterable, final char 
separator) {
         if (iterable == null) {
@@ -178,6 +180,7 @@ public final class Strings {
      * @param iterator  the {@code Iterator} of values to join together, may 
be null
      * @param separator  the separator character to use
      * @return the joined String, {@code null} if null iterator input
+     * @since 2.7
      */
     public static String join(final Iterator<?> iterator, final char 
separator) {
 

Reply via email to