Fix missing @Override annotations

This commit is contained in:
GeorgH93 2016-03-26 16:10:41 +01:00
parent bf946c6bca
commit 45b24f3115
2 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,7 @@ protected void loadSettings()
UpdatePlayer = plugin.config.getUpdatePlayer();
}
@Override
public void close()
{
dataSource.close();
@ -246,6 +247,7 @@ protected void runStatement(final String query, final Object... args)
}
// Plugin Functions
@Override
public void updatePlayer(final Player player)
{
if(useUUIDs)
@ -258,6 +260,7 @@ public void updatePlayer(final Player player)
}
}
@Override
public void saveBackpack(final Backpack backpack)
{
final byte[] data = itsSerializer.serialize(backpack.getInventory());
@ -383,6 +386,7 @@ public void run()
});
}
@Override
public Backpack loadBackpack(OfflinePlayer player) // The sync function shouldn't be called at all
{
try(Connection connection = getConnection(); PreparedStatement ps = connection.prepareStatement(Query_GetBP))

View File

@ -45,8 +45,10 @@ protected void loadSettings()
Field_Name = "name";
Field_UUID = "uuid";
Field_BPOwner = "owner";
//noinspection SpellCheckingInspection
Field_BPITS = "itemstacks";
Field_BPVersion = "version";
//noinspection SpellCheckingInspection
Field_BPLastUpdate = "lastupdate";
Table_Players = "backpack_players";
Table_Backpacks = "backpacks";