From 77bd86a2034cc6714ccc4392d13f06f3f4b8bcc8 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Thu, 24 Nov 2011 21:07:14 +0100 Subject: [PATCH] Whitespace police --- .../java/com/sk89q/worldedit/expression/parser/Parser.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/expression/parser/Parser.java b/src/main/java/com/sk89q/worldedit/expression/parser/Parser.java index 5aa062fd2..d76765352 100644 --- a/src/main/java/com/sk89q/worldedit/expression/parser/Parser.java +++ b/src/main/java/com/sk89q/worldedit/expression/parser/Parser.java @@ -167,8 +167,7 @@ public class Parser { final RValue body = parseStatements(true); statements.add(new For(current.getPosition(), init, condition, increment, body)); - } - else { + } else { position = oldPosition; final Token variableToken = peek(); @@ -377,7 +376,7 @@ public class Parser { return Functions.getFunction(identifierToken.getPosition(), identifierToken.value, args.toArray(new RValue[args.size()])); } catch (NoSuchMethodException e) { - throw new ParserException(identifierToken.getPosition(), "Function '"+identifierToken.value+"' not found", e); + throw new ParserException(identifierToken.getPosition(), "Function '" + identifierToken.value + "' not found", e); } }