提交 49859969 编写于 作者: L lancea

7193683: DriverManager Iterator Warning cleanup

Reviewed-by: lancea
Contributed-by: NDan Xu <dan.xu@oracle.com>
上级 d7fe9623
...@@ -510,7 +510,7 @@ public class DriverManager { ...@@ -510,7 +510,7 @@ public class DriverManager {
public Void run() { public Void run() {
ServiceLoader<Driver> loadedDrivers = ServiceLoader.load(Driver.class); 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. /* Load these drivers, so that they can be instantiated.
* It may be the case that the driver class may not be there * It may be the case that the driver class may not be there
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册