sgoeschl    2005/05/10 03:57:17

  Modified:    yaafi/src/java/org/apache/fulcrum/yaafi/service/systemproperty
                        SystemPropertyServiceImpl.java
  Log:
  The logging statement was incorrectly placed in the loop
  
  Revision  Changes    Path
  1.4       +3 -2      
jakarta-turbine-fulcrum/yaafi/src/java/org/apache/fulcrum/yaafi/service/systemproperty/SystemPropertyServiceImpl.java
  
  Index: SystemPropertyServiceImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-fulcrum/yaafi/src/java/org/apache/fulcrum/yaafi/service/systemproperty/SystemPropertyServiceImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SystemPropertyServiceImpl.java    1 Mar 2005 10:43:44 -0000       1.3
  +++ SystemPropertyServiceImpl.java    10 May 2005 10:57:17 -0000      1.4
  @@ -49,7 +49,7 @@
           String key           = null;
           String value         = null;
           String oldValue      = null;
  -        Configuration[] systemProperties = configuration.getChildren();
  +        Configuration[] systemProperties = 
configuration.getChildren("property");
           
           for( int i=0; i<systemProperties.length; i++ )
           {
  @@ -72,8 +72,9 @@
               
               System.setProperty( key, value ); 
               
  -            this.getLogger().debug( "Processed the following number of 
properties : " + systemProperties.length );
           }
  +
  +        this.getLogger().debug( "Processed the following number of 
properties : " + systemProperties.length );
       }
       
       /**
  
  
  

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

Reply via email to