You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by sg...@apache.org on 2005/05/10 12:57:18 UTC
cvs commit: jakarta-turbine-fulcrum/yaafi/src/java/org/apache/fulcrum/yaafi/service/systemproperty SystemPropertyServiceImpl.java
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: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org