donaldp 01/11/01 01:18:09
Modified: src/java/org/apache/avalon/framework/logger
AbstractLoggable.java
Log:
Made documentation of getLogger() a little more detailed.
Suggested By: Stefano Mazzocchi <[EMAIL PROTECTED]>
Revision Changes Path
1.4 +6 -0
jakarta-avalon/src/java/org/apache/avalon/framework/logger/AbstractLoggable.java
Index: AbstractLoggable.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon/src/java/org/apache/avalon/framework/logger/AbstractLoggable.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AbstractLoggable.java 2001/10/31 15:45:50 1.3
+++ AbstractLoggable.java 2001/11/01 09:18:09 1.4
@@ -38,6 +38,12 @@
/**
* Helper method to allow sub-classes to aquire logger.
+ * This method exists rather than exposing a member variable
+ * because it protects other users against future changes. It
+ * also means they do not have to use our naming convention.
+ *
+ * <p>There is no performance penalty as this is a final method
+ * and will be inlined by the JVM.</p>
*
* @return the Logger
*/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>