logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw ReceiversTreeModel.java
Date Thu, 19 Jun 2003 06:18:26 GMT
psmith      2003/06/18 23:18:26

  Modified:    src/java/org/apache/log4j/chainsaw ReceiversTreeModel.java
  Log:
  moved out the definition of the root node for friendly access.
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/ReceiversTreeModel.java
  
  Index: ReceiversTreeModel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/ReceiversTreeModel.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ReceiversTreeModel.java	19 Jun 2003 02:37:32 -0000	1.2
  +++ ReceiversTreeModel.java	19 Jun 2003 06:18:26 -0000	1.3
  @@ -69,10 +69,10 @@
    */
   public class ReceiversTreeModel extends DefaultTreeModel {
     private ReceiversTreeModel() {
  -    super(new DefaultMutableTreeNode("Receivers"));
  +    super(RootNode);
     }
     static final DefaultMutableTreeNode NoReceiversNode = new DefaultMutableTreeNode("You
have no Receivers defined");
  -
  +  static final DefaultMutableTreeNode RootNode = new DefaultMutableTreeNode("Receivers");
     /**
      * Creates a new ReceiversTreeModel by querying the Log4j Plugin Repository
      * and building up the required information.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message