diff options
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/commands/impls/UnaryCommand.java')
| -rw-r--r-- | JPratt/src/main/java/bjc/pratt/commands/impls/UnaryCommand.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/JPratt/src/main/java/bjc/pratt/commands/impls/UnaryCommand.java b/JPratt/src/main/java/bjc/pratt/commands/impls/UnaryCommand.java index 156dee0..15d246d 100644 --- a/JPratt/src/main/java/bjc/pratt/commands/impls/UnaryCommand.java +++ b/JPratt/src/main/java/bjc/pratt/commands/impls/UnaryCommand.java @@ -13,13 +13,13 @@ import bjc.utils.parserutils.ParserException; * @author bjculkin * * @param <K> - * The key type of the tokens. + * The key type of the tokens. * * @param <V> - * The value type of the tokens. + * The value type of the tokens. * * @param <C> - * The state type of the parser. + * The state type of the parser. */ public class UnaryCommand<K, V, C> extends AbstractInitialCommand<K, V, C> { private final int nullPwer; @@ -28,10 +28,10 @@ public class UnaryCommand<K, V, C> extends AbstractInitialCommand<K, V, C> { * Create a new unary command. * * @param precedence - * The precedence of this operator. + * The precedence of this operator. */ public UnaryCommand(final int precedence) { - if (precedence < 0) throw new IllegalArgumentException("Precedence must be non-negative"); + if(precedence < 0) throw new IllegalArgumentException("Precedence must be non-negative"); nullPwer = precedence; } |
