Skip to content

Commit 11209a3

Browse files
committed
Rollback breaking change in ReusableMessage
1 parent f0e82d1 commit 11209a3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableMessage.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import org.apache.logging.log4j.util.PerformanceSensitive;
2020
import org.apache.logging.log4j.util.StringBuilderFormattable;
21-
import org.osgi.annotation.versioning.ProviderType;
2221

2322
/**
2423
* Messages implementing this interface are reused between logging calls.
@@ -30,7 +29,6 @@
3029
* @since 2.6
3130
*/
3231
@PerformanceSensitive("allocation")
33-
@ProviderType
3432
public interface ReusableMessage extends Message, StringBuilderFormattable {
3533

3634
/**
@@ -71,10 +69,4 @@ public interface ReusableMessage extends Message, StringBuilderFormattable {
7169
* @return an immutable snapshot of this message
7270
*/
7371
Message memento();
74-
75-
/**
76-
* Resets the object to a clean state.
77-
* @since 2.24.0
78-
*/
79-
void clear();
8072
}

0 commit comments

Comments
 (0)