From f6d90bb34730bed00d6ab04933c2131587adafaa Mon Sep 17 00:00:00 2001 From: Dan Xu Date: Thu, 30 Aug 2012 13:38:03 -0400 Subject: [PATCH] 7193683: DriverManager Iterator Warning cleanup Reviewed-by: lancea --- jdk/src/share/classes/java/sql/DriverManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/share/classes/java/sql/DriverManager.java b/jdk/src/share/classes/java/sql/DriverManager.java index 785b7334936..819544a1558 100644 --- a/jdk/src/share/classes/java/sql/DriverManager.java +++ b/jdk/src/share/classes/java/sql/DriverManager.java @@ -510,7 +510,7 @@ public class DriverManager { public Void run() { ServiceLoader loadedDrivers = ServiceLoader.load(Driver.class); - Iterator driversIterator = loadedDrivers.iterator(); + Iterator 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