pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1652296 - in /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox: contentstream/operator/Operator.java pdmodel/font/ExternalFonts.java pdmodel/font/Standard14Fonts.java
Date Thu, 15 Jan 2015 22:45:05 GMT
Author: tilman
Date: Thu Jan 15 22:45:05 2015
New Revision: 1652296

URL: http://svn.apache.org/r1652296
Log:
PDFBOX-2576: fix modifier order according to JLS

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/Operator.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/ExternalFonts.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/Operator.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/Operator.java?rev=1652296&r1=1652295&r2=1652296&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/Operator.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/Operator.java
Thu Jan 15 22:45:05 2015
@@ -32,7 +32,7 @@ public class Operator
     private COSDictionary imageParameters;
 
     /** map for singleton operator objects; use {@link ConcurrentHashMap} for better scalability
with multiple threads */
-    private final static ConcurrentHashMap<String,Operator> operators = new ConcurrentHashMap<String,
Operator>();
+    private static final ConcurrentHashMap<String,Operator> operators = new ConcurrentHashMap<String,
Operator>();
 
     /**
      * Constructor.

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/ExternalFonts.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/ExternalFonts.java?rev=1652296&r1=1652295&r2=1652296&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/ExternalFonts.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/ExternalFonts.java Thu
Jan 15 22:45:05 2015
@@ -113,7 +113,7 @@ public final class ExternalFonts
     }
 
     /** Map of PostScript name substitutes, in priority order. */
-    private final static Map<String, List<String>> substitutes = new HashMap<String,
List<String>>();
+    private static final Map<String, List<String>> substitutes = new HashMap<String,
List<String>>();
     static
     {
         // substitutes for standard 14 fonts

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java?rev=1652296&r1=1652295&r2=1652296&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java
Thu Jan 15 22:45:05 2015
@@ -40,8 +40,8 @@ class Standard14Fonts
     {
     }
 
-    private final static Set<String> STANDARD_14_NAMES = new HashSet<String>();
-    private final static Map<String, String> STANDARD_14_MAPPING = new HashMap<String,
String>();
+    private static final Set<String> STANDARD_14_NAMES = new HashSet<String>();
+    private static final Map<String, String> STANDARD_14_MAPPING = new HashMap<String,
String>();
     private static final Map<String, FontMetrics> STANDARD14_AFM_MAP;
     static
     {



Mime
View raw message