Oops. Constructor should actually do something.

This commit is contained in:
DRC
2011-04-02 03:43:12 +00:00
parent 7e60806f34
commit 0e72ee1ccc

View File

@@ -36,6 +36,8 @@ public class TJScalingFactor {
public TJScalingFactor(int num, int denom) throws Exception {
if(num < 1 || denom < 1)
throw new Exception("Numerator and denominator must be >= 1");
this.num = num;
this.denom = denom;
}
/**