pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1666307 - /pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/type/Types.java
Date Thu, 12 Mar 2015 20:59:13 GMT
Author: tilman
Date: Thu Mar 12 20:59:12 2015
New Revision: 1666307

URL: http://svn.apache.org/r1666307
Log:
PDFBOX-2576: make fields final

Modified:
    pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/type/Types.java

Modified: pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/type/Types.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/type/Types.java?rev=1666307&r1=1666306&r2=1666307&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/type/Types.java (original)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/type/Types.java Thu Mar 12 20:59:12
2015
@@ -47,11 +47,11 @@ public enum Types
 
     // For defined types
 
-    private boolean simple;
+    private final boolean simple;
 
-    private Types basic;
+    private final Types basic;
 
-    private Class<? extends AbstractField> clz;
+    private final Class<? extends AbstractField> clz;
 
     private Types(boolean s, Types b, Class<? extends AbstractField> c)
     {



Mime
View raw message