pbwest 2004/01/04 18:17:29 Modified: src/java/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design Numeric.java Log: Removed redundant casts. Javadoc cleanup. Flagged by Eclipse. Revision Changes Path No revision No revision 1.1.2.2 +6 -6 xml-fop/src/java/org/apache/fop/datatypes/Attic/Numeric.java Index: Numeric.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/datatypes/Attic/Numeric.java,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- Numeric.java 5 Jul 2003 19:08:19 -0000 1.1.2.1 +++ Numeric.java 5 Jan 2004 02:17:29 -0000 1.1.2.2 @@ -411,7 +411,7 @@ * rounded value is equal to the value. */ public boolean isInteger() { - return (isNumber() && (double)(Math.round(value)) == value); + return (isNumber() && (Math.round(value)) == value); } /** @@ -494,7 +494,7 @@ * @param fontSize a <tt>Numeric</tt> containing the reference * <i>font-size</i> length * @return <i>this</i>, with values changed to reflect the conversion - * @exception <tt>PropertyException</tt> + * @exception PropertyException */ public Numeric expandEms(Numeric fontSize) throws PropertyException { if (baseunit == EMS) { @@ -513,7 +513,7 @@ /** * @param ref a <tt>Numeric</tt> containing the reference length * @return <i>this</i>, with values changed to reflect the conversion - * @exception <tt>PropertyException</tt> + * @exception PropertyException */ public Numeric expandPercent(Numeric ref) throws PropertyException { if (baseunit == PERCENTAGE) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]