pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1651722 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/FilterFactory.java
Date Wed, 14 Jan 2015 16:31:32 GMT
Author: tilman
Date: Wed Jan 14 16:31:31 2015
New Revision: 1651722

URL: http://svn.apache.org/r1651722
Log:
PDFBOX-2576: make constant fields static / final

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/FilterFactory.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/FilterFactory.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/FilterFactory.java?rev=1651722&r1=1651721&r2=1651722&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/FilterFactory.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/FilterFactory.java Wed Jan
14 16:31:31 2015
@@ -34,9 +34,9 @@ public final class FilterFactory
     /**
      * Singleton instance.
      */
-    public static FilterFactory INSTANCE = new FilterFactory();
+    public static final FilterFactory INSTANCE = new FilterFactory();
 
-    private Map<COSName, Filter> filters = new HashMap<COSName, Filter>();
+    private static final Map<COSName, Filter> filters = new HashMap<COSName, Filter>();
 
     private FilterFactory()
     {



Mime
View raw message