diff options
Diffstat (limited to 'velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMathNode.java')
-rwxr-xr-x | velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMathNode.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMathNode.java b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMathNode.java index 069f7df2..c47b9ad5 100755 --- a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMathNode.java +++ b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMathNode.java @@ -137,6 +137,10 @@ public abstract class ASTMathNode extends ASTBinaryOperator * Extension hook to allow special behavior by subclasses * If this method returns a non-null value, that is returned, * rather than the result of the math operation. + * @param left + * @param right + * @param context + * @return special value * @see ASTAddNode#handleSpecial */ protected Object handleSpecial(Object left, Object right, InternalContextAdapter context) @@ -147,6 +151,11 @@ public abstract class ASTMathNode extends ASTBinaryOperator /** * Performs the math operation represented by this node. + * @param left + * @param right + * @param context + * @return computed value + * @see ASTAddNode#perform(Number, Number, InternalContextAdapter) */ public abstract Number perform(Number left, Number right, InternalContextAdapter context); |