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 Sun, 14 Jul 2002 02:07:24 GMT
donaldp     2002/07/13 19:07:24

  Modified:    src/java/org/apache/log Logger.java
  Log:
  Add some brackets in
  
  Revision  Changes    Path
  1.27      +10 -4     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.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- Logger.java	4 Jun 2002 17:27:34 -0000	1.26
  +++ Logger.java	14 Jul 2002 02:07:24 -0000	1.27
  @@ -395,7 +395,8 @@
        */
       public synchronized Logger[] getChildren()
       {
  -        if( null == m_children ) return new Logger[ 0 ];
  +        if( null == m_children )
  +            return new Logger[ 0 ];
   
           final Logger[] children = new Logger[ m_children.length ];
   
  @@ -618,7 +619,8 @@
        */
       private synchronized void resetChildPriorities( final boolean recursive )
       {
  -        if( null == m_children ) return;
  +        if( null == m_children )
  +            return;
   
           final Logger[] children = m_children;
   
  @@ -683,7 +685,8 @@
        */
       private synchronized void resetChildLogTargets( final boolean recursive )
       {
  -        if( null == m_children ) return;
  +        if( null == m_children )
  +            return;
   
           for( int i = 0; i < m_children.length; i++ )
           {
  @@ -696,7 +699,10 @@
        */
       private synchronized void setupErrorHandlers()
       {
  -        if( null == m_logTargets ) return;
  +        if( null == m_logTargets )
  +        {
  +            return;
  +        }
   
           for( int i = 0; i < m_logTargets.length; i++ )
           {
  
  
  

--
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