svn commit: r831807 - /ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r831807 - /ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java

jleroux@apache.org
Author: jleroux
Date: Mon Nov  2 07:01:41 2009
New Revision: 831807

URL: http://svn.apache.org/viewvc?rev=831807&view=rev
Log:
A patch from Marc Morin "Resolve java warnings exposed in Eclipse : framework - start" (https://issues.apache.org/jira/browse/OFBIZ-3118) - OFBIZ-3118

Modified:
    ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java

Modified: ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java?rev=831807&r1=831806&r2=831807&view=diff
==============================================================================
--- ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java (original)
+++ ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java Mon Nov  2 07:01:41 2009
@@ -32,7 +32,6 @@
 import java.net.ServerSocket;
 import java.net.Socket;
 import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.List;
 import java.util.Locale;
 import java.util.Properties;
@@ -254,7 +253,7 @@
         // initialize the loaders
         for (String loaderClassName: config.loaders) {
             try {
-                Class loaderClass = classloader.loadClass(loaderClassName);
+                Class<?> loaderClass = classloader.loadClass(loaderClassName);
                 StartupLoader loader = (StartupLoader) loaderClass.newInstance();
                 loader.load(config, loaderArgs);
                 loaders.add(loader);