avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-logkit/src/java/org/apache/log Logger.java
Date Mon, 20 May 2002 10:02:26 GMT
donaldp     02/05/20 03:02:26

  Modified:    src/java/org/apache/log Logger.java
  Log:
  Add in some more brackets.
  
  Revision  Changes    Path
  1.24      +10 -0     jakarta-avalon-logkit/src/java/org/apache/log/Logger.java
  
  Index: Logger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-logkit/src/java/org/apache/log/Logger.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- Logger.java	20 May 2002 10:01:18 -0000	1.23
  +++ Logger.java	20 May 2002 10:02:26 -0000	1.24
  @@ -441,7 +441,9 @@
           //Get FQN for category
           String category = null;
           if( m_category.equals( "" ) )
  +        {
               category = nextCategory;
  +        }
           else
           {
               category = m_category + CATEGORY_SEPARATOR + nextCategory;
  @@ -456,9 +458,13 @@
                   if( m_children[ i ].getCategory().equals( category ) )
                   {
                       if( null == remainder )
  +                    {
                           return m_children[ i ];
  +                    }
                       else
  +                    {
                           return m_children[ i ].getChildLogger( remainder );
  +                    }
                   }
               }
           }
  @@ -480,9 +486,13 @@
           }
   
           if( null == remainder )
  +        {
               return child;
  +        }
           else
  +        {
               return child.getChildLogger( remainder );
  +        }
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message