Simplified code in class com.github.fritaly.commons.Fraction