diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-07-27 16:31:36 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-07-27 16:31:36 -0400 |
| commit | bfa7c67f491d8f693308e6299266f527b49be600 (patch) | |
| tree | 04f72aabce04b726fe1e22f54e978a4a4dc51c9f /dice-lang/src/main/java/bjc/dicelang/ast/ArithmeticCollapser.java | |
| parent | 1cf770b4662fed523513a1c73b63c56d9552d8f1 (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.java | 9 |
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"); |
