summaryrefslogtreecommitdiff
path: root/JPratt/src/main/java/bjc/pratt/commands/BinaryPostCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/commands/BinaryPostCommand.java')
-rw-r--r--JPratt/src/main/java/bjc/pratt/commands/BinaryPostCommand.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/JPratt/src/main/java/bjc/pratt/commands/BinaryPostCommand.java b/JPratt/src/main/java/bjc/pratt/commands/BinaryPostCommand.java
index 943554c..1fa1ba3 100644
--- a/JPratt/src/main/java/bjc/pratt/commands/BinaryPostCommand.java
+++ b/JPratt/src/main/java/bjc/pratt/commands/BinaryPostCommand.java
@@ -6,13 +6,13 @@ package bjc.pratt.commands;
* @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 abstract class BinaryPostCommand<K, V, C> extends NonInitialCommand<K, V, C> {
private final int leftPower;
@@ -21,10 +21,10 @@ public abstract class BinaryPostCommand<K, V, C> extends NonInitialCommand<K, V,
* Create a new operator with fixed precedence.
*
* @param precedence
- * The precedence of the operator.
+ * The precedence of the operator.
*/
public BinaryPostCommand(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");
leftPower = precedence;
}