mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Java 16 optimisations
This commit is contained in:
1 parent
46dd32d5c2
commit
e1113efeac
23 files changed
+116
-173
No files matched your search
@@ -10,7 +10,6 @@ import java.util.logging.Level;
|
||||
|
||||
public abstract class Database {
|
||||
protected HuskHomes plugin;
|
||||
private Connection connection;
|
||||
|
||||
public Database(HuskHomes instance) {
|
||||
plugin = instance;
|
||||
@@ -21,7 +20,7 @@ public abstract class Database {
|
||||
public abstract void load();
|
||||
|
||||
public void initialize() {
|
||||
connection = getConnection();
|
||||
Connection connection = getConnection();
|
||||
|
||||
// Test the retrieved connection; throw an error if it fails
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user