Skip to content

Commit

Permalink
Rollback breaking change in ReusableMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Mar 22, 2024
1 parent f0e82d1 commit 11209a3
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.apache.logging.log4j.util.PerformanceSensitive;
import org.apache.logging.log4j.util.StringBuilderFormattable;
import org.osgi.annotation.versioning.ProviderType;

/**
* Messages implementing this interface are reused between logging calls.
Expand All @@ -30,7 +29,6 @@
* @since 2.6
*/
@PerformanceSensitive("allocation")
@ProviderType
public interface ReusableMessage extends Message, StringBuilderFormattable {

/**
Expand Down Expand Up @@ -71,10 +69,4 @@ public interface ReusableMessage extends Message, StringBuilderFormattable {
* @return an immutable snapshot of this message
*/
Message memento();

/**
* Resets the object to a clean state.
* @since 2.24.0
*/
void clear();
}

0 comments on commit 11209a3

Please sign in to comment.