From 40271f2ddf959ef41e96be03b494f760255d743e Mon Sep 17 00:00:00 2001 From: KHobbits Date: Mon, 11 Jun 2012 00:14:19 +0100 Subject: [PATCH] I spied some more big Booleans. --- .../src/com/earth2me/essentials/commands/Commandexp.java | 4 ++-- .../src/com/earth2me/essentials/commands/Commandptime.java | 2 +- .../com/earth2me/essentials/commands/Commandunlimited.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandexp.java b/Essentials/src/com/earth2me/essentials/commands/Commandexp.java index 22976ff92..9c16041e1 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandexp.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandexp.java @@ -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); diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandptime.java b/Essentials/src/com/earth2me/essentials/commands/Commandptime.java index 738b8db1a..866846733 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandptime.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandptime.java @@ -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; diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java b/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java index beff6a77b..585fec3b3 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java @@ -98,7 +98,7 @@ public class Commandunlimited extends EssentialsCommand } String message = "disableUnlimited"; - Boolean enableUnlimited = false; + boolean enableUnlimited = false; if (!target.hasUnlimited(stack)) { message = "enableUnlimited";