Heinrich Bohne created NUMBERS-125:
--------------------------------------

             Summary: BigFraction.reduce() and Fraction.getReducedFraction(int, 
int) are unnecessary
                 Key: NUMBERS-125
                 URL: https://issues.apache.org/jira/browse/NUMBERS-125
             Project: Commons Numbers
          Issue Type: Improvement
          Components: fraction
    Affects Versions: 1.0
            Reporter: Heinrich Bohne


The instance method {{BigFraction.reduce()}} is unnecessary, because the only 
constructor in this class already reduces the fraction to lowest terms.

Likewise, the static factory method {{Fraction.getReducedFraction(int, int)}} 
is unnecessary, because it is functionally completely equivalent to the factory 
method {{Fraction.of(int, int)}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to