summaryrefslogtreecommitdiff
path: root/dice-lang/src/main/java/bjc/dicelang/ast/ArithmeticCollapser.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-07-27 16:31:36 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-07-27 16:31:36 -0400
commitbfa7c67f491d8f693308e6299266f527b49be600 (patch)
tree04f72aabce04b726fe1e22f54e978a4a4dc51c9f /dice-lang/src/main/java/bjc/dicelang/ast/ArithmeticCollapser.java
parent1cf770b4662fed523513a1c73b63c56d9552d8f1 (diff)
Formatting pass
Diffstat (limited to 'dice-lang/src/main/java/bjc/dicelang/ast/ArithmeticCollapser.java')
-rw-r--r--dice-lang/src/main/java/bjc/dicelang/ast/ArithmeticCollapser.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/dice-lang/src/main/java/bjc/dicelang/ast/ArithmeticCollapser.java b/dice-lang/src/main/java/bjc/dicelang/ast/ArithmeticCollapser.java
index ac53c81..3820d68 100644
--- a/dice-lang/src/main/java/bjc/dicelang/ast/ArithmeticCollapser.java
+++ b/dice-lang/src/main/java/bjc/dicelang/ast/ArithmeticCollapser.java
@@ -49,8 +49,8 @@ final class ArithmeticCollapser implements IOperatorCollapser {
return reducedState;
}
- private IList<IResult> combineArrayResults(
- IResult accumulatedValue, IResult currentValue) {
+ private IList<IResult> combineArrayResults(IResult accumulatedValue,
+ IResult currentValue) {
IList<IResult> currentList = ((ArrayResult) currentValue)
.getValue();
IList<IResult> accumulatedList = ((ArrayResult) accumulatedValue)
@@ -126,9 +126,8 @@ final class ArithmeticCollapser implements IOperatorCollapser {
accumulatedTree);
}
- private IList<IResult> halfCombineLists(
- IList<IResult> list, IResult scalar,
- boolean scalarLeft) {
+ private IList<IResult> halfCombineLists(IList<IResult> list,
+ IResult scalar, boolean scalarLeft) {
if (scalar.getType() != ResultType.INTEGER) {
throw new UnsupportedOperationException(
"Nested array operations not supported");