7193683: DriverManager Iterator Warning cleanup

Reviewed-by: lancea
This commit is contained in:
Dan Xu 2012-08-30 13:38:03 -04:00 committed by Lance Andersen
parent be8df60f79
commit f6d90bb347

View File

@ -510,7 +510,7 @@ public class DriverManager {
public Void run() {
ServiceLoader<Driver> loadedDrivers = ServiceLoader.load(Driver.class);
Iterator driversIterator = loadedDrivers.iterator();
Iterator<Driver> driversIterator = loadedDrivers.iterator();
/* Load these drivers, so that they can be instantiated.
* It may be the case that the driver class may not be there