clear warnnings

This commit is contained in:
wenshao
2012-07-18 21:42:00 +08:00
parent 5c01638bc1
commit e5af1d8f7f
@@ -488,7 +488,6 @@ public final class JdbcUtils {
}
public static Driver createDriver(String driverClassName) throws SQLException {
ClassNotFoundException exception = null;
try {
return (Driver) Class.forName(driverClassName).newInstance();
} catch (IllegalAccessException e) {
@@ -496,7 +495,7 @@ public final class JdbcUtils {
} catch (InstantiationException e) {
throw new SQLException(e.getMessage(), e);
} catch (ClassNotFoundException e) {
exception = e;
// skip
}
try {