diff options
| author | EVE <EVE@EVE-PC> | 2017-03-13 16:41:45 -0400 |
|---|---|---|
| committer | EVE <EVE@EVE-PC> | 2017-03-13 16:41:45 -0400 |
| commit | 01136c6796e21f023713e026674576d8e623462d (patch) | |
| tree | e77886fe0e0adaf3c0430fba9ce248ef83f74fe4 /dice-lang/src/bjc/dicelang/v1/IDiceExpression.java | |
| parent | 870d769cfc152171d27b2331a7c590d0b307ad48 (diff) | |
Formatting
Diffstat (limited to 'dice-lang/src/bjc/dicelang/v1/IDiceExpression.java')
| -rw-r--r-- | dice-lang/src/bjc/dicelang/v1/IDiceExpression.java | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/dice-lang/src/bjc/dicelang/v1/IDiceExpression.java b/dice-lang/src/bjc/dicelang/v1/IDiceExpression.java index a0b78b8..86c4d6a 100644 --- a/dice-lang/src/bjc/dicelang/v1/IDiceExpression.java +++ b/dice-lang/src/bjc/dicelang/v1/IDiceExpression.java @@ -22,11 +22,11 @@ public interface IDiceExpression { * <li>Dice concatenation - '1d10c1d10</li> * </ul> * - * Dice concatenation is like using 2 d10s to emulate a d100, so - * instead of adding them, it reads them side by side. + * Dice concatenation is like using 2 d10s to emulate a d100, so instead + * of adding them, it reads them side by side. * * @param expression - * The string to convert to an expression + * The string to convert to an expression * * @return The string, converted into expression form */ @@ -52,8 +52,8 @@ public interface IDiceExpression { return new ScalarDie(Integer.parseInt(literalData)); } catch (NumberFormatException nfex) { UnsupportedOperationException usex = new UnsupportedOperationException( - "Found malformed leaf token " + expression + ". Floating point numbers " + - "are not supported."); + "Found malformed leaf token " + expression + ". Floating point numbers " + + "are not supported."); usex.initCause(nfex); @@ -78,11 +78,10 @@ public interface IDiceExpression { * @return This expression, optimized to a scalar value * * @throws UnsupportedOperationException - * if this type of expression can't be optimized + * if this type of expression can't be optimized */ public default int optimize() { - throw new UnsupportedOperationException( - "Can't optimize this type of expression"); + throw new UnsupportedOperationException("Can't optimize this type of expression"); } /** |
