Author: jleroux
Date: Mon Nov 2 07:01:41 2009
New Revision: 831807
URL:
http://svn.apache.org/viewvc?rev=831807&view=revLog:
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);