mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-24 00:15:16 +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() {
|
||||
try {
|
||||
Class.forName("com.mysql.jdbc.Driver");
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user