You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2011/10/02 17:47:39 UTC

svn commit: r1178198 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionFormat.java

Author: psteitz
Date: Sun Oct  2 15:47:39 2011
New Revision: 1178198

URL: http://svn.apache.org/viewvc?rev=1178198&view=rev
Log:
Fixed javadoc typos.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionFormat.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionFormat.java?rev=1178198&r1=1178197&r2=1178198&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionFormat.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionFormat.java Sun Oct  2 15:47:39 2011
@@ -80,7 +80,7 @@ public class FractionFormat extends Abst
      * FractionFormat.
      *
      * @param f Fraction object to format
-     * @return A formatted fraction in proper form.
+     * @return a formatted fraction in proper form.
      */
     public static String formatFraction(Fraction f) {
         return getImproperInstance().format(f);
@@ -165,8 +165,8 @@ public class FractionFormat extends Abst
      *            offsets of the alignment field
      * @return the value passed in as toAppendTo.
      * @see java.text.Format#format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)
-     * @throws FractionConversionException if the numbrer cannot be converted to a fraction
-     * @throws MathIllegalArgumentException is <code>obj</code> is not a valid type.
+     * @throws FractionConversionException if the number cannot be converted to a fraction
+     * @throws MathIllegalArgumentException if <code>obj</code> is not a valid type.
      */
     @Override
     public StringBuffer format(final Object obj,
@@ -206,7 +206,7 @@ public class FractionFormat extends Abst
      * Parses a string to produce a {@link Fraction} object.  This method
      * expects the string to be formatted as an improper fraction.
      * @param source the string to parse
-     * @param pos input/ouput parsing parameter.
+     * @param pos input/output parsing parameter.
      * @return the parsed {@link Fraction} object.
      */
     @Override