pglezen     01/06/23 01:49:22

  Modified:    src/java/org/apache/log4j Category.java
  Log:
  PR: 1987
  Paul Houghton pointed out that the FQCN comment should not be instructing
  Category subclass developers to "override" the FQCN field; especially
  since they can't (the field is private static final).  Rather, subclass
  developers should be creating their own private static final version of
  FQCN to ensure that forcedLog uses the appropriate one.
  
  Revision  Changes    Path
  1.31      +2 -1      jakarta-log4j/src/java/org/apache/log4j/Category.java
  
  Index: Category.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/Category.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- Category.java     2001/06/19 15:44:51     1.30
  +++ Category.java     2001/06/23 08:49:22     1.31
  @@ -168,7 +168,8 @@
   
     /**
        The fully qualified name of the class that this Category
  -     object. Subclasses should override this variable.  */
  +     object. Subclasses should create their own private FQCN
  +     variable.  */
     private static final String FQCN = Category.class.getName();
     
     protected ResourceBundle resourceBundle;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to