summaryrefslogtreecommitdiff
path: root/dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-04-22 14:48:25 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-04-22 14:48:25 -0400
commit0fa4f162f4e42a455dbb7e7459854b9467337863 (patch)
tree64e22da06f641f2ad1d2e1f0dc6f818b404c8661 /dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java
parenta3e0b3da5d7b0ec8dcae92a428f8e3f1c6cd6e8e (diff)
Formatting changes
Diffstat (limited to 'dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java')
-rw-r--r--dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java b/dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java
index c8d9a64..ce61d38 100644
--- a/dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java
+++ b/dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java
@@ -19,6 +19,11 @@ public class IntegerResult implements IResult {
value = val;
}
+ @Override
+ public ResultType getType() {
+ return ResultType.INTEGER;
+ }
+
/**
* Get the value of this result
*
@@ -29,11 +34,6 @@ public class IntegerResult implements IResult {
}
@Override
- public ResultType getType() {
- return ResultType.INTEGER;
- }
-
- @Override
public String toString() {
return Integer.toString(value);
}