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)
{
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)

View File

@ -8,9 +8,8 @@ import org.bukkit.plugin.Plugin;
/**
* BOSEconomy 6 Implementation of Method
*
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun)
* @copyright (c) 2011
* @license AOL license <http://aol.nexua.org>
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) @copyright (c) 2011 @license AOL license
* <http://aol.nexua.org>
*/
@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

View File

@ -9,9 +9,8 @@ import org.bukkit.plugin.Plugin;
* BOSEconomy 7 Implementation of Method
*
* @author Acrobot
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun)
* @copyright (c) 2011
* @license AOL license <http://aol.nexua.org>
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) @copyright (c) 2011 @license AOL license
* <http://aol.nexua.org>
*/
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

View File

@ -9,9 +9,7 @@ import org.bukkit.plugin.Plugin;
/**
* MultiCurrency Method implementation.
*
* @author Acrobot
* @copyright (c) 2011
* @license AOL license <http://aol.nexua.org>
* @author Acrobot @copyright (c) 2011 @license AOL license <http://aol.nexua.org>
*/
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

View File

@ -9,9 +9,8 @@ import org.bukkit.plugin.Plugin;
/**
* iConomy 4 Implementation of Method
*
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun)
* @copyright (c) 2011
* @license AOL license <http://aol.nexua.org>
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) @copyright (c) 2011 @license AOL license
* <http://aol.nexua.org>
*/
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()
{

View File

@ -12,9 +12,8 @@ import org.bukkit.plugin.Plugin;
/**
* iConomy 5 Implementation of Method
*
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun)
* @copyright (c) 2011
* @license AOL license <http://aol.nexua.org>
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) @copyright (c) 2011 @license AOL license
* <http://aol.nexua.org>
*/
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

View File

@ -11,9 +11,8 @@ import org.bukkit.plugin.Plugin;
/**
* iConomy 6 Implementation of Method
*
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun)
* @copyright (c) 2011
* @license AOL license <http://aol.nexua.org>
* @author Nijikokun <nijikokun@shortmail.com> (@nijikokun) @copyright (c) 2011 @license AOL license
* <http://aol.nexua.org>
*/
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