Fix errors

This commit is contained in:
Shaun Bennett 2015-08-24 22:24:26 -05:00
parent bf1f62057c
commit 062328313e
2 changed files with 2 additions and 7 deletions

View File

@ -725,7 +725,7 @@ public class BonusManager extends MiniClientPlugin<BonusClientData> implements I
if (gold > 0)
{
UtilPlayer.message(player, F.main("Carl", "Rewarded " + F.elem(gold + " Gold")));
_donationManager.RewardGold(new Callback<Boolean>()
_donationManager.rewardGold(new Callback<Boolean>()
{
@Override
public void run(Boolean data)

View File

@ -70,7 +70,7 @@ public abstract class RepositoryBase implements Listener
{
return DSL.using(DBPool.ACCOUNT, SQLDialect.MYSQL);
}
/**
* Requirements: {@link Connection}s must be closed after usage so they may be returned to the pool!
* @see Connection#close()
@ -90,11 +90,6 @@ public abstract class RepositoryBase implements Listener
}
}
protected DSLContext jooq()
{
return DSL.using(_dataSource, SQLDialect.MYSQL);
}
/**
* Execute a query against the repository.
* @param query - the concatenated query to execute in string form.