mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-28 00:55:29 +01:00
!Removed unnecessary line
This commit is contained in:
parent
5cae155273
commit
fc5eea28e0
@ -29,9 +29,8 @@ public class MySQLDataProvider implements DataProvider {
|
|||||||
|
|
||||||
private void initialize() {
|
private void initialize() {
|
||||||
try {
|
try {
|
||||||
Class.forName("com.mysql.jdbc.Driver");
|
|
||||||
connection = DriverManager.getConnection(config.getConnectionString(), config.getUser(), config.getPassword());
|
connection = DriverManager.getConnection(config.getConnectionString(), config.getUser(), config.getPassword());
|
||||||
} catch (ClassNotFoundException | SQLException exception) {
|
} catch (SQLException exception) {
|
||||||
throw new IllegalArgumentException("Could not initialize MySQL support: " + exception.getMessage());
|
throw new IllegalArgumentException("Could not initialize MySQL support: " + exception.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user