commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r787348 - in /commons/proper/math/trunk/src/java/org/apache/commons/math/fraction: BigFraction.java Fraction.java
Date Mon, 22 Jun 2009 18:42:11 GMT
Author: luc
Date: Mon Jun 22 18:42:11 2009
New Revision: 787348

URL: http://svn.apache.org/viewvc?rev=787348&view=rev
Log:
fixed TWO_FIFTH value in both Fraction and BigFraction

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/BigFraction.java
    commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/Fraction.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/BigFraction.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/BigFraction.java?rev=787348&r1=787347&r2=787348&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/BigFraction.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/BigFraction.java Mon
Jun 22 18:42:11 2009
@@ -68,8 +68,8 @@
     /** A fraction representing "3/4". */
     public static final BigFraction THREE_QUARTERS = new BigFraction(3, 4);
 
-    /** A fraction representing "4/5". */
-    public static final BigFraction TWO_FIFTHS = new BigFraction(4, 5);
+    /** A fraction representing "2/5". */
+    public static final BigFraction TWO_FIFTHS = new BigFraction(2, 5);
 
     /** A fraction representing "2/4". */
     public static final BigFraction TWO_QUARTERS = new BigFraction(2, 4);

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/Fraction.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/Fraction.java?rev=787348&r1=787347&r2=787348&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/Fraction.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/Fraction.java Mon
Jun 22 18:42:11 2009
@@ -65,8 +65,8 @@
     /** A fraction representing "3/4". */
     public static final Fraction THREE_QUARTERS = new Fraction(3, 4);
 
-    /** A fraction representing "4/5". */
-    public static final Fraction TWO_FIFTHS = new Fraction(4, 5);
+    /** A fraction representing "2/5". */
+    public static final Fraction TWO_FIFTHS = new Fraction(2, 5);
 
     /** A fraction representing "2/4". */
     public static final Fraction TWO_QUARTERS = new Fraction(2, 4);



Mime
View raw message