I spied some more big Booleans.

This commit is contained in:
KHobbits 2012-06-11 00:14:19 +01:00
parent aa1205f42d
commit 40271f2ddf
3 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ public class Commandexp extends EssentialsCommand
{
if (args.length == 3 && user.isAuthorized("essentials.exp.set.others"))
{
Boolean foundUser = false;
boolean foundUser = false;
for (Player matchPlayer : server.matchPlayer(args[1]))
{
User target = ess.getUser(matchPlayer);
@ -45,7 +45,7 @@ public class Commandexp extends EssentialsCommand
{
if (args.length == 3 && user.isAuthorized("essentials.exp.give.others"))
{
Boolean foundUser = false;
boolean foundUser = false;
for (Player matchPlayer : server.matchPlayer(args[1]))
{
User target = ess.getUser(matchPlayer);

View file

@ -55,7 +55,7 @@ public class Commandptime extends EssentialsCommand
Long ticks;
// Parse the target time int ticks from args[0]
String timeParam = args[0];
Boolean relative = true;
boolean relative = true;
if (timeParam.startsWith("@"))
{
relative = false;

View file

@ -98,7 +98,7 @@ public class Commandunlimited extends EssentialsCommand
}
String message = "disableUnlimited";
Boolean enableUnlimited = false;
boolean enableUnlimited = false;
if (!target.hasUnlimited(stack))
{
message = "enableUnlimited";