ceki        2004/01/22 11:42:14

  Modified:    src/java/org/apache/log4j/xml DOMConfigurator.java
  Log:
  Formatting changes only (using jalopy).
  
  Revision  Changes    Path
  1.60      +15 -17    logging-log4j/src/java/org/apache/log4j/xml/DOMConfigurator.java
  
  Index: DOMConfigurator.java
  ===================================================================
  RCS file: 
/home/cvs/logging-log4j/src/java/org/apache/log4j/xml/DOMConfigurator.java,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- DOMConfigurator.java      17 Sep 2003 17:02:52 -0000      1.59
  +++ DOMConfigurator.java      22 Jan 2004 19:42:14 -0000      1.60
  @@ -258,8 +258,8 @@
           }
         }
   
  -      if(appender instanceof OptionHandler) {
  -       ((OptionHandler)appender).activateOptions();
  +      if (appender instanceof OptionHandler) {
  +        ((OptionHandler) appender).activateOptions();
         }
   
         return appender;
  @@ -343,12 +343,11 @@
           configureNestedComponent(nestedBean, currentElement);
         }
       }
  -    
  -    // once all the options are set, activate the nested component
  -    if(nestedComponent instanceof OptionHandler) { 
  -     ((OptionHandler)nestedComponent).activateOptions(); 
  -    } 
   
  +    // once all the options are set, activate the nested component
  +    if (nestedComponent instanceof OptionHandler) {
  +      ((OptionHandler) nestedComponent).activateOptions();
  +    }
   
       // Now let us attach the component
       switch (containmentType) {
  @@ -418,9 +417,9 @@
           }
         }
   
  -                     if(eh instanceof OptionHandler) {
  -                      ((OptionHandler)eh).activateOptions();
  -                     }
  +      if (eh instanceof OptionHandler) {
  +        ((OptionHandler) eh).activateOptions();
  +      }
   
         appender.setErrorHandler(eh);
       }
  @@ -453,10 +452,9 @@
           }
         }
   
  -                     if(filter instanceof OptionHandler) {
  -                      ((OptionHandler)filter).activateOptions();
  -                     }
  -
  +      if (filter instanceof OptionHandler) {
  +        ((OptionHandler) filter).activateOptions();
  +      }
   
         LogLog.debug(
           "Adding filter of type [" + filter.getClass()
  @@ -569,9 +567,9 @@
         }
       }
   
  -             if(cat instanceof OptionHandler) {
  -              ((OptionHandler)cat).activateOptions();
  -             }
  +    if (cat instanceof OptionHandler) {
  +      ((OptionHandler) cat).activateOptions();
  +    }
     }
   
     protected void parseRenderer(Element element) {
  
  
  

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

Reply via email to