From 06f54fdbac1874c549b5181d92b4a9474da55dcc Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 27 Jun 2012 20:27:27 +1000 Subject: That just leaves the big ol' core. Largely ignore Compat as it is very temporary. --- .../src/com/earth2me/essentials/geoip/ConfigHolder.java | 4 +--- .../src/com/earth2me/essentials/geoip/EssentialsGeoIP.java | 12 ++---------- 2 files changed, 3 insertions(+), 13 deletions(-) (limited to 'EssentialsGeoIP/src') diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/ConfigHolder.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/ConfigHolder.java index bf45e54c6..183c591ab 100644 --- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/ConfigHolder.java +++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/ConfigHolder.java @@ -7,6 +7,7 @@ import java.io.File; import java.io.IOException; import org.bukkit.plugin.Plugin; + public class ConfigHolder extends AsyncStorageObjectHolder { private final transient Plugin geoip; @@ -27,13 +28,10 @@ public class ConfigHolder extends AsyncStorageObjectHolder @Override public void finishRead() { - } @Override public void finishWrite() { - } - } diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java index b6697a658..43b4959da 100644 --- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java +++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java @@ -9,15 +9,6 @@ import org.bukkit.plugin.java.JavaPlugin; public class EssentialsGeoIP extends JavaPlugin { - public EssentialsGeoIP() - { - } - - @Override - public void onDisable() - { - } - @Override public void onEnable() { @@ -27,7 +18,8 @@ public class EssentialsGeoIP extends JavaPlugin { getLogger().log(Level.WARNING, _("versionMismatchAll")); } - if (!ess.isEnabled()) { + if (!ess.isEnabled()) + { this.setEnabled(false); return; } -- cgit v1.2.3