You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by pa...@apache.org on 2018/12/11 15:17:54 UTC

svn commit: r1848692 - in /turbine/fulcrum/trunk/yaafi: NOTICE.txt README.txt tutorial/src/java/tutorial/service/SystemPropertyServiceImpl.java

Author: painter
Date: Tue Dec 11 15:17:54 2018
New Revision: 1848692

URL: http://svn.apache.org/viewvc?rev=1848692&view=rev
Log:
Cleanup text files, update tutorial file

Modified:
    turbine/fulcrum/trunk/yaafi/NOTICE.txt
    turbine/fulcrum/trunk/yaafi/README.txt
    turbine/fulcrum/trunk/yaafi/tutorial/src/java/tutorial/service/SystemPropertyServiceImpl.java

Modified: turbine/fulcrum/trunk/yaafi/NOTICE.txt
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/yaafi/NOTICE.txt?rev=1848692&r1=1848691&r2=1848692&view=diff
==============================================================================
--- turbine/fulcrum/trunk/yaafi/NOTICE.txt (original)
+++ turbine/fulcrum/trunk/yaafi/NOTICE.txt Tue Dec 11 15:17:54 2018
@@ -1,6 +1,5 @@
 Turbine Fulcrum YAAFI
-Copyright 2002-2009 The Apache Software Foundation.
+Copyright 2002-2018 The Apache Software Foundation.
 
 This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
+The Apache Software Foundation (http://www.apache.org/).
\ No newline at end of file

Modified: turbine/fulcrum/trunk/yaafi/README.txt
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/yaafi/README.txt?rev=1848692&r1=1848691&r2=1848692&view=diff
==============================================================================
--- turbine/fulcrum/trunk/yaafi/README.txt (original)
+++ turbine/fulcrum/trunk/yaafi/README.txt Tue Dec 11 15:17:54 2018
@@ -1,4 +1,3 @@
 What is Fulcrum YAAFI?
 -----------------------------------------------------------------------------
-Fulcrum YAAFI is IOC container based on the Avalon framework.
-
+Fulcrum YAAFI is IOC container based on the Avalon framework.
\ No newline at end of file

Modified: turbine/fulcrum/trunk/yaafi/tutorial/src/java/tutorial/service/SystemPropertyServiceImpl.java
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/yaafi/tutorial/src/java/tutorial/service/SystemPropertyServiceImpl.java?rev=1848692&r1=1848691&r2=1848692&view=diff
==============================================================================
--- turbine/fulcrum/trunk/yaafi/tutorial/src/java/tutorial/service/SystemPropertyServiceImpl.java (original)
+++ turbine/fulcrum/trunk/yaafi/tutorial/src/java/tutorial/service/SystemPropertyServiceImpl.java Tue Dec 11 15:17:54 2018
@@ -59,11 +59,10 @@ public class SystemPropertyServiceImpl
     public void configure(Configuration configuration) throws ConfigurationException
     {
         Configuration[] systemProperties = configuration.getChildren("property");
-
-        for( int i=0; i<systemProperties.length; i++ )
+        for ( Configuration entry : systemProperties )
         {
-            String key = systemProperties[i].getAttribute("name");
-            String value = systemProperties[i].getValue();
+        	String key = entry.getAttribute("name");
+        	String value = entry.getValue();
             this.getLogger().debug( "Setting the value of " + key + " to " + value );
             System.setProperty( key, value );
         }