mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 07:55:03 +00:00
Fix Codacy issues
This commit is contained in:
parent
9d58522fc6
commit
c4d65c21d2
2 changed files with 5 additions and 7 deletions
|
@ -24,6 +24,11 @@ import org.bukkit.plugin.java.JavaPlugin;
|
|||
|
||||
public final class TFGuilds extends JavaPlugin
|
||||
{
|
||||
|
||||
// TEMP FIX UNTIL REWRITE
|
||||
public Map<String, Guild> guilds;
|
||||
public Map<String, GuildWarp> warps;
|
||||
|
||||
private static TFGuilds plugin;
|
||||
|
||||
public static TFGuilds getPlugin()
|
||||
|
@ -40,11 +45,6 @@ public final class TFGuilds extends JavaPlugin
|
|||
public SQLWarpData warpData;
|
||||
public SQLWorldData worldData;
|
||||
|
||||
|
||||
// TEMP FIX UNTIL REWRITE
|
||||
public Map<String, Guild> guilds;
|
||||
public Map<String, GuildWarp> warps;
|
||||
|
||||
@Override
|
||||
public void onEnable()
|
||||
{
|
||||
|
|
|
@ -10,7 +10,6 @@ import me.totalfreedom.tfguilds.TFGuilds;
|
|||
public class SQLDatabase
|
||||
{
|
||||
private static final String DATABASE_FILENAME = "database.db";
|
||||
private final File FILE;
|
||||
private Connection connection;
|
||||
|
||||
public SQLDatabase()
|
||||
|
@ -28,7 +27,6 @@ public class SQLDatabase
|
|||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
this.FILE = file;
|
||||
try
|
||||
{
|
||||
connection = DriverManager.getConnection("jdbc:sqlite:" + file.getAbsolutePath());
|
||||
|
|
Loading…
Reference in a new issue