commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1432212 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/palette/MedianCutMostPopulatedBoxesImplementation.java
Date Fri, 11 Jan 2013 18:28:31 GMT
Author: ggregory
Date: Fri Jan 11 18:28:31 2013
New Revision: 1432212

URL: http://svn.apache.org/viewvc?rev=1432212&view=rev
Log:
Add final modifier to private fields.

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/palette/MedianCutMostPopulatedBoxesImplementation.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/palette/MedianCutMostPopulatedBoxesImplementation.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/palette/MedianCutMostPopulatedBoxesImplementation.java?rev=1432212&r1=1432211&r2=1432212&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/palette/MedianCutMostPopulatedBoxesImplementation.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/palette/MedianCutMostPopulatedBoxesImplementation.java
Fri Jan 11 18:28:31 2013
@@ -135,7 +135,7 @@ public class MedianCutMostPopulatedBoxes
     }
     
     private static class ColorComparer implements Comparator<ColorCount> {
-        private ColorComponent colorComponent;
+        private final ColorComponent colorComponent;
         
         public ColorComparer(ColorComponent colorComponent) {
             this.colorComponent = colorComponent;



Mime
View raw message