diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-06-11 00:08:31 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-06-11 00:08:31 +0100 |
commit | aa1205f42d81082fb6657f23975030d20d87b752 (patch) | |
tree | e49cbc4eb3a09e621b3a5a07465dbdaf41d41ce6 | |
parent | 2e15de483d5afd8a1de0ccaaac0abd643677c93a (diff) | |
download | Essentials-aa1205f42d81082fb6657f23975030d20d87b752.tar Essentials-aa1205f42d81082fb6657f23975030d20d87b752.tar.gz Essentials-aa1205f42d81082fb6657f23975030d20d87b752.tar.lz Essentials-aa1205f42d81082fb6657f23975030d20d87b752.tar.xz Essentials-aa1205f42d81082fb6657f23975030d20d87b752.zip |
i should prefer boolean to Boolean.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandpay.java | 2 | ||||
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandwhois.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandpay.java b/Essentials/src/com/earth2me/essentials/commands/Commandpay.java index 4a2ac4dde..ed9a6bc29 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandpay.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandpay.java @@ -29,7 +29,7 @@ public class Commandpay extends EssentialsCommand double amount = Double.parseDouble(args[1].replaceAll("[^0-9\\.]", "")); - Boolean foundUser = false; + boolean foundUser = false; for (Player p : server.matchPlayer(args[0])) { User u = ess.getUser(p); diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java b/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java index f7a8ffd6b..e799905f3 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java @@ -38,7 +38,7 @@ public class Commandwhois extends EssentialsCommand } final String whois = args[0].toLowerCase(Locale.ENGLISH); final int prefixLength = Util.stripFormat(ess.getSettings().getNicknamePrefix()).length(); - Boolean foundUser = false; + boolean foundUser = false; for (Player onlinePlayer : server.getOnlinePlayers()) { final User user = ess.getUser(onlinePlayer); |