Author: wglass Date: Wed Nov 1 23:14:00 2006 New Revision: 470254 URL: http://svn.apache.org/viewvc?view=rev&rev=470254 Log: fixed javadocs for random file
Modified: jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/MathUtils.java Modified: jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/MathUtils.java URL: http://svn.apache.org/viewvc/jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/MathUtils.java?view=diff&rev=470254&r1=470253&r2=470254 ============================================================================== --- jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/MathUtils.java (original) +++ jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/MathUtils.java Wed Nov 1 23:14:00 2006 @@ -222,6 +222,11 @@ /** * Wrap the result in the object of the bigger type. + * + * @param value result of operation (as a long) - used to check size + * @param op1 first operand of binary operation + * @param op2 second operand of binary operation + * @return Number object of appropriate size to fit the value and operators */ private static Number wrapPrimitive (long value, Number op1, Number op2) { @@ -234,6 +239,10 @@ /** * Find the common Number-type to be used in calculations. + * + * @param op1 first operand of binary operation + * @param op2 second operand of binary operation + * @return constant indicating type of Number to use in calculations */ private static int findCalculationBase (Number op1, Number op2) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]