]> granicus.if.org Git - libjpeg-turbo/commitdiff
Oops. Constructor should actually do something.
authorDRC <dcommander@users.sourceforge.net>
Sat, 2 Apr 2011 03:43:12 +0000 (03:43 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sat, 2 Apr 2011 03:43:12 +0000 (03:43 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@560 632fc199-4ca6-4c93-a231-07263d6284db

java/org/libjpegturbo/turbojpeg/TJScalingFactor.java

index 2e4b66aede0c9dd72ee11acc0b28f7e4c8d8d545..d71ceee0b8bb70f7caade5d9996deeb14fbadf97 100644 (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;
   }
 
   /**