From 062328313e3f09ee7b7b31c1102e76733b2d88ef Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Mon, 24 Aug 2015 22:24:26 -0500 Subject: [PATCH] Fix errors --- .../src/mineplex/core/bonuses/BonusManager.java | 2 +- .../src/mineplex/core/database/RepositoryBase.java | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/bonuses/BonusManager.java b/Plugins/Mineplex.Core/src/mineplex/core/bonuses/BonusManager.java index 0e0b52abf..80b62b460 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/bonuses/BonusManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/bonuses/BonusManager.java @@ -725,7 +725,7 @@ public class BonusManager extends MiniClientPlugin implements I if (gold > 0) { UtilPlayer.message(player, F.main("Carl", "Rewarded " + F.elem(gold + " Gold"))); - _donationManager.RewardGold(new Callback() + _donationManager.rewardGold(new Callback() { @Override public void run(Boolean data) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/database/RepositoryBase.java b/Plugins/Mineplex.Core/src/mineplex/core/database/RepositoryBase.java index 832c02506..f96d1b04d 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/database/RepositoryBase.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/database/RepositoryBase.java @@ -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.