Formatting.

This commit is contained in:
KHobbits 2012-03-30 13:29:58 +01:00
parent e795c6ed0b
commit 0e99b35ab2
7 changed files with 28 additions and 34 deletions

View file

@ -152,11 +152,12 @@ public class MetricsStarter implements Runnable
if (method != null) if (method != null)
{ {
String version; String version;
if (method instanceof VaultEco) { if (method instanceof VaultEco)
{
version = ((VaultEco)method).getEconomy(); version = ((VaultEco)method).getEconomy();
} }
else { else
{
version = method.getVersion(); version = method.getVersion();
final int dashPosition = version.indexOf('-'); final int dashPosition = version.indexOf('-');
if (dashPosition > 0) if (dashPosition > 0)

View file

@ -8,9 +8,8 @@ import org.bukkit.plugin.Plugin;
/** /**
* BOSEconomy 6 Implementation of Method * BOSEconomy 6 Implementation of Method
* *
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) * @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) @copyright (c) 2011 @license AOL license
* @copyright (c) 2011 * <http://aol.nexua.org>
* @license AOL license <http://aol.nexua.org>
*/ */
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
public class BOSE6 implements Method public class BOSE6 implements Method
@ -28,11 +27,11 @@ public class BOSE6 implements Method
{ {
return "BOSEconomy"; return "BOSEconomy";
} }
@Override @Override
public String getLongName() public String getLongName()
{ {
return getName(); return getName();
} }
@Override @Override

View file

@ -9,9 +9,8 @@ import org.bukkit.plugin.Plugin;
* BOSEconomy 7 Implementation of Method * BOSEconomy 7 Implementation of Method
* *
* @author Acrobot * @author Acrobot
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) * @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) @copyright (c) 2011 @license AOL license
* @copyright (c) 2011 * <http://aol.nexua.org>
* @license AOL license <http://aol.nexua.org>
*/ */
public class BOSE7 implements Method public class BOSE7 implements Method
{ {
@ -28,11 +27,11 @@ public class BOSE7 implements Method
{ {
return "BOSEconomy"; return "BOSEconomy";
} }
@Override @Override
public String getLongName() public String getLongName()
{ {
return getName(); return getName();
} }
@Override @Override

View file

@ -9,9 +9,7 @@ import org.bukkit.plugin.Plugin;
/** /**
* MultiCurrency Method implementation. * MultiCurrency Method implementation.
* *
* @author Acrobot * @author Acrobot @copyright (c) 2011 @license AOL license <http://aol.nexua.org>
* @copyright (c) 2011
* @license AOL license <http://aol.nexua.org>
*/ */
public class MCUR implements Method public class MCUR implements Method
{ {
@ -28,11 +26,11 @@ public class MCUR implements Method
{ {
return "MultiCurrency"; return "MultiCurrency";
} }
@Override @Override
public String getLongName() public String getLongName()
{ {
return getName(); return getName();
} }
@Override @Override

View file

@ -9,9 +9,8 @@ import org.bukkit.plugin.Plugin;
/** /**
* iConomy 4 Implementation of Method * iConomy 4 Implementation of Method
* *
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) * @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) @copyright (c) 2011 @license AOL license
* @copyright (c) 2011 * <http://aol.nexua.org>
* @license AOL license <http://aol.nexua.org>
*/ */
public class iCo4 implements Method public class iCo4 implements Method
{ {
@ -28,13 +27,13 @@ public class iCo4 implements Method
{ {
return "iConomy"; return "iConomy";
} }
@Override @Override
public String getLongName() public String getLongName()
{ {
return getName(); return getName();
} }
@Override @Override
public String getVersion() public String getVersion()
{ {

View file

@ -12,9 +12,8 @@ import org.bukkit.plugin.Plugin;
/** /**
* iConomy 5 Implementation of Method * iConomy 5 Implementation of Method
* *
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) * @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) @copyright (c) 2011 @license AOL license
* @copyright (c) 2011 * <http://aol.nexua.org>
* @license AOL license <http://aol.nexua.org>
*/ */
public class iCo5 implements Method public class iCo5 implements Method
{ {
@ -31,11 +30,11 @@ public class iCo5 implements Method
{ {
return "iConomy"; return "iConomy";
} }
@Override @Override
public String getLongName() public String getLongName()
{ {
return getName(); return getName();
} }
@Override @Override

View file

@ -11,9 +11,8 @@ import org.bukkit.plugin.Plugin;
/** /**
* iConomy 6 Implementation of Method * iConomy 6 Implementation of Method
* *
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) * @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) @copyright (c) 2011 @license AOL license
* @copyright (c) 2011 * <http://aol.nexua.org>
* @license AOL license <http://aol.nexua.org>
*/ */
public class iCo6 implements Method public class iCo6 implements Method
{ {
@ -30,11 +29,11 @@ public class iCo6 implements Method
{ {
return "iConomy"; return "iConomy";
} }
@Override @Override
public String getLongName() public String getLongName()
{ {
return getName(); return getName();
} }
@Override @Override