XenoAmess opened a new pull request #152: URL: https://github.com/apache/commons-math/pull/152
Though many implementations of Comparable (including BigFraction) returns only [0, -1, 1] for compareTo function, usually we do not use `== 1` to detect the result, but use [>0, ==0, <0], which is defined in javadoc of class Compare. Of course == 1 is correct here, as BigFraction is a final class and nobody can override this compareTo function. But I still think it be better to change it to > 0. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
