From 5028ad9a1faad0e363d017f18363e8062ba59871 Mon Sep 17 00:00:00 2001 From: bjculkin Date: Thu, 15 Feb 2018 15:25:09 -0500 Subject: Formatting and things --- .../bjc/pratt/commands/impls/PreTernaryCommand.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'JPratt/src/main/java/bjc/pratt/commands/impls/PreTernaryCommand.java') diff --git a/JPratt/src/main/java/bjc/pratt/commands/impls/PreTernaryCommand.java b/JPratt/src/main/java/bjc/pratt/commands/impls/PreTernaryCommand.java index fa63c9c..7b33c84 100644 --- a/JPratt/src/main/java/bjc/pratt/commands/impls/PreTernaryCommand.java +++ b/JPratt/src/main/java/bjc/pratt/commands/impls/PreTernaryCommand.java @@ -14,13 +14,13 @@ import bjc.utils.parserutils.ParserException; * @author bjculkin * * @param - * The key type of the tokens. + * The key type of the tokens. * * @param - * The value type of the tokens. + * The value type of the tokens. * * @param - * The state type of the parser. + * The state type of the parser. */ public class PreTernaryCommand extends AbstractInitialCommand { private final Token trm; @@ -34,26 +34,26 @@ public class PreTernaryCommand extends AbstractInitialCommand * Create a new ternary statement. * * @param cond - * The block for handling the condition. + * The block for handling the condition. * * @param op1 - * The block for handling the first operator. + * The block for handling the first operator. * * @param op2 - * The block for handling the second operator. + * The block for handling the second operator. * * @param term - * The token to use as the node for the AST. + * The token to use as the node for the AST. */ public PreTernaryCommand(final ParseBlock cond, final ParseBlock op1, final ParseBlock op2, final Token term) { super(); - if (cond == null) + if(cond == null) throw new NullPointerException("Cond block must not be null"); - else if (op1 == null) + else if(op1 == null) throw new NullPointerException("Op block #1 must not be null"); - else if (op2 == null) throw new NullPointerException("Op block #2 must not be null"); + else if(op2 == null) throw new NullPointerException("Op block #2 must not be null"); condBlock = cond; opblock1 = op1; -- cgit v1.2.3