diff --git a/Essentials/src/com/earth2me/essentials/metrics/MetricsStarter.java b/Essentials/src/com/earth2me/essentials/metrics/MetricsStarter.java index 93db9b05c..0ea692cc9 100644 --- a/Essentials/src/com/earth2me/essentials/metrics/MetricsStarter.java +++ b/Essentials/src/com/earth2me/essentials/metrics/MetricsStarter.java @@ -152,11 +152,12 @@ public class MetricsStarter implements Runnable if (method != null) { String version; - if (method instanceof VaultEco) { - + if (method instanceof VaultEco) + { version = ((VaultEco)method).getEconomy(); } - else { + else + { version = method.getVersion(); final int dashPosition = version.indexOf('-'); if (dashPosition > 0) diff --git a/Essentials/src/com/earth2me/essentials/register/payment/methods/BOSE6.java b/Essentials/src/com/earth2me/essentials/register/payment/methods/BOSE6.java index 91537caed..a77a1d3b0 100644 --- a/Essentials/src/com/earth2me/essentials/register/payment/methods/BOSE6.java +++ b/Essentials/src/com/earth2me/essentials/register/payment/methods/BOSE6.java @@ -8,9 +8,8 @@ import org.bukkit.plugin.Plugin; /** * BOSEconomy 6 Implementation of Method * - * @author Nijikokun (@nijikokun) - * @copyright (c) 2011 - * @license AOL license + * @author Nijikokun (@nijikokun) @copyright (c) 2011 @license AOL license + * */ @SuppressWarnings("deprecation") public class BOSE6 implements Method @@ -28,11 +27,11 @@ public class BOSE6 implements Method { return "BOSEconomy"; } - + @Override public String getLongName() { - return getName(); + return getName(); } @Override diff --git a/Essentials/src/com/earth2me/essentials/register/payment/methods/BOSE7.java b/Essentials/src/com/earth2me/essentials/register/payment/methods/BOSE7.java index b112e2a30..7aab8c459 100644 --- a/Essentials/src/com/earth2me/essentials/register/payment/methods/BOSE7.java +++ b/Essentials/src/com/earth2me/essentials/register/payment/methods/BOSE7.java @@ -9,9 +9,8 @@ import org.bukkit.plugin.Plugin; * BOSEconomy 7 Implementation of Method * * @author Acrobot - * @author Nijikokun (@nijikokun) - * @copyright (c) 2011 - * @license AOL license + * @author Nijikokun (@nijikokun) @copyright (c) 2011 @license AOL license + * */ public class BOSE7 implements Method { @@ -28,11 +27,11 @@ public class BOSE7 implements Method { return "BOSEconomy"; } - + @Override public String getLongName() { - return getName(); + return getName(); } @Override diff --git a/Essentials/src/com/earth2me/essentials/register/payment/methods/MCUR.java b/Essentials/src/com/earth2me/essentials/register/payment/methods/MCUR.java index 612b07150..92c4f4f19 100644 --- a/Essentials/src/com/earth2me/essentials/register/payment/methods/MCUR.java +++ b/Essentials/src/com/earth2me/essentials/register/payment/methods/MCUR.java @@ -9,9 +9,7 @@ import org.bukkit.plugin.Plugin; /** * MultiCurrency Method implementation. * - * @author Acrobot - * @copyright (c) 2011 - * @license AOL license + * @author Acrobot @copyright (c) 2011 @license AOL license */ public class MCUR implements Method { @@ -28,11 +26,11 @@ public class MCUR implements Method { return "MultiCurrency"; } - + @Override public String getLongName() { - return getName(); + return getName(); } @Override diff --git a/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo4.java b/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo4.java index e505d4484..4542f6743 100644 --- a/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo4.java +++ b/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo4.java @@ -9,9 +9,8 @@ import org.bukkit.plugin.Plugin; /** * iConomy 4 Implementation of Method * - * @author Nijikokun (@nijikokun) - * @copyright (c) 2011 - * @license AOL license + * @author Nijikokun (@nijikokun) @copyright (c) 2011 @license AOL license + * */ public class iCo4 implements Method { @@ -28,13 +27,13 @@ public class iCo4 implements Method { return "iConomy"; } - + @Override public String getLongName() { - return getName(); + return getName(); } - + @Override public String getVersion() { diff --git a/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo5.java b/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo5.java index 38e749d07..87144fa34 100644 --- a/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo5.java +++ b/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo5.java @@ -12,9 +12,8 @@ import org.bukkit.plugin.Plugin; /** * iConomy 5 Implementation of Method * - * @author Nijikokun (@nijikokun) - * @copyright (c) 2011 - * @license AOL license + * @author Nijikokun (@nijikokun) @copyright (c) 2011 @license AOL license + * */ public class iCo5 implements Method { @@ -31,11 +30,11 @@ public class iCo5 implements Method { return "iConomy"; } - + @Override public String getLongName() { - return getName(); + return getName(); } @Override diff --git a/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo6.java b/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo6.java index b3791eef1..ecd1d6aae 100644 --- a/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo6.java +++ b/Essentials/src/com/earth2me/essentials/register/payment/methods/iCo6.java @@ -11,9 +11,8 @@ import org.bukkit.plugin.Plugin; /** * iConomy 6 Implementation of Method * - * @author Nijikokun (@nijikokun) - * @copyright (c) 2011 - * @license AOL license + * @author Nijikokun (@nijikokun) @copyright (c) 2011 @license AOL license + * */ public class iCo6 implements Method { @@ -30,11 +29,11 @@ public class iCo6 implements Method { return "iConomy"; } - + @Override public String getLongName() { - return getName(); + return getName(); } @Override