You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ce...@apache.org on 2004/04/16 23:22:20 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j/pattern PatternConverter.java
ceki 2004/04/16 14:22:20
Modified: src/java/org/apache/log4j/pattern PatternConverter.java
Log:
Minor doc improvement
Revision Changes Path
1.5 +3 -0 logging-log4j/src/java/org/apache/log4j/pattern/PatternConverter.java
Index: PatternConverter.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/pattern/PatternConverter.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- PatternConverter.java 27 Feb 2004 16:47:32 -0000 1.4
+++ PatternConverter.java 16 Apr 2004 21:22:20 -0000 1.5
@@ -68,6 +68,9 @@
/**
Derived pattern converters must override this method in order to
convert conversion specifiers in the correct way.
+
+ IMPORTANT: Note that an implementing class may always return the same
+ StringBuffer instance in order to avoid superflous object creation.
*/
protected abstract StringBuffer convert(LoggingEvent event);
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org