commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1210204 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/SystemConfiguration.java
Date Sun, 04 Dec 2011 20:38:02 GMT
Author: oheger
Date: Sun Dec  4 20:38:02 2011
New Revision: 1210204

URL: http://svn.apache.org/viewvc?rev=1210204&view=rev
Log:
Java 1.5 compatibility: raw types, etc.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/SystemConfiguration.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/SystemConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/SystemConfiguration.java?rev=1210204&r1=1210203&r2=1210204&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/SystemConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/SystemConfiguration.java
Sun Dec  4 20:38:02 2011
@@ -82,10 +82,10 @@ public class SystemConfiguration extends
      */
     public static void setSystemProperties(PropertiesConfiguration systemConfig)
     {
-        Iterator iter = systemConfig.getKeys();
+        Iterator<String> iter = systemConfig.getKeys();
         while (iter.hasNext())
         {
-            String key = (String) iter.next();
+            String key = iter.next();
             String value = (String) systemConfig.getProperty(key);
             if (log.isDebugEnabled())
             {



Mime
View raw message