You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/08/04 00:43:03 UTC

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/math Fraction.java

scolebourne    2003/08/03 15:43:03

  Modified:    lang/src/java/org/apache/commons/lang/math Fraction.java
  Log:
  Javadoc fixes
  bug 22094, from Tim O'Brien
  
  Revision  Changes    Path
  1.6       +7 -6      jakarta-commons/lang/src/java/org/apache/commons/lang/math/Fraction.java
  
  Index: Fraction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/math/Fraction.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Fraction.java	26 Jul 2003 00:57:02 -0000	1.5
  +++ Fraction.java	3 Aug 2003 22:43:03 -0000	1.6
  @@ -64,6 +64,7 @@
    *
    * @author Travis Reeder
    * @author Stephen Colebourne
  + * @author Tim O'Brien
    * @since 2.0
    * @version $Id$
    */
  @@ -331,7 +332,7 @@
        * <p>Gets the numerator part of the fraction.</p>
        *
        * <p>This method may return a value greater than the denominator, an
  -     * improper fraction, such as the seven in 7/8.</p>
  +     * improper fraction, such as the seven in 7/4.</p>
        *
        * @return the numerator fraction part
        */
  @@ -351,10 +352,10 @@
       /**
        * <p>Gets the proper numerator, always positive.</p>
        *
  -     * <p>An improper fraction 7/8 can be resolved into a proper one, 1 3/4.
  +     * <p>An improper fraction 7/4 can be resolved into a proper one, 1 3/4.
        * This method returns the 3 from the proper fraction.</p>
        *
  -     * <p>If the fraction is negative such as -7/8, it can be resolved into
  +     * <p>If the fraction is negative such as -7/4, it can be resolved into
        * -1 3/4, so this method returns the positive proper numerator, 3.</p>
        *
        * @return the numerator fraction part of a proper fraction, always positive
  @@ -366,10 +367,10 @@
       /**
        * <p>Gets the proper whole part of the fraction.</p>
        *
  -     * <p>An improper fraction 7/8 can be resolved into a proper one, 1 3/4.
  +     * <p>An improper fraction 7/4 can be resolved into a proper one, 1 3/4.
        * This method returns the 1 from the proper fraction.</p>
        *
  -     * <p>If the fraction is negative such as -7/8, it can be resolved into
  +     * <p>If the fraction is negative such as -7/4, it can be resolved into
        * -1 3/4, so this method returns the positive whole part -1.</p>
        *
        * @return the whole fraction part of a proper fraction, that includes the sign