LOG4J2-1293 clarify that not allocating objects is on a best effort basis, not a requirement
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/b5c08371 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/b5c08371 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/b5c08371 Branch: refs/heads/LOG4J2-1278-gc-free-logger Commit: b5c083714f33be77726f1cdb1571dc838bf731bc Parents: 33ef3f8 Author: rpopma <[email protected]> Authored: Mon Feb 22 15:02:44 2016 +0900 Committer: rpopma <[email protected]> Committed: Mon Feb 22 15:02:44 2016 +0900 ---------------------------------------------------------------------- .../org/apache/logging/log4j/util/StringBuilderFormattable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/b5c08371/log4j-api/src/main/java/org/apache/logging/log4j/util/StringBuilderFormattable.java ---------------------------------------------------------------------- diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/util/StringBuilderFormattable.java b/log4j-api/src/main/java/org/apache/logging/log4j/util/StringBuilderFormattable.java index 5da9b61..2ec488b 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/util/StringBuilderFormattable.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/util/StringBuilderFormattable.java @@ -17,7 +17,7 @@ package org.apache.logging.log4j.util; /** - * Objects that implement this interface can be converted to text without allocating temporary objects. + * Objects that implement this interface can be converted to text, ideally without allocating temporary objects. * * @since 2.6s */
