harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhouke...@apache.org
Subject svn commit: r787125 - /harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BandSet.java
Date Mon, 22 Jun 2009 03:23:42 GMT
Author: zhoukevin
Date: Mon Jun 22 03:23:37 2009
New Revision: 787125

URL: http://svn.apache.org/viewvc?rev=787125&view=rev
Log:
Applied the patch for HARMONY-6240, [classlib][pack200] org.apache.harmony.pack200.BandSet
should specify effortThresholds as a static field of this class.

Modified:
    harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BandSet.java

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BandSet.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BandSet.java?rev=787125&r1=787124&r2=787125&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BandSet.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BandSet.java
Mon Jun 22 03:23:37 2009
@@ -36,7 +36,7 @@
 
     // Minimum size of band for each effort level where we consider alternative codecs
     // Note: these values have been tuned - please test carefully if changing them
-    private final int[] effortThresholds = new int[] {0, 0, 1000, 500, 100, 100, 100, 100,
100, 0};
+    private static final int[] effortThresholds = new int[] {0, 0, 1000, 500, 100, 100, 100,
100, 100, 0};
 
     private long[] canonicalLargest;
     private long[] canonicalSmallest;



Mime
View raw message