pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1687337 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeCellRenderer.java
Date Wed, 24 Jun 2015 17:42:05 GMT
Author: tilman
Date: Wed Jun 24 17:42:05 2015
New Revision: 1687337

URL: http://svn.apache.org/r1687337
Log:
PDFBOX-2530: make constants static

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeCellRenderer.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeCellRenderer.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeCellRenderer.java?rev=1687337&r1=1687336&r2=1687337&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeCellRenderer.java
(original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeCellRenderer.java
Wed Jun 24 17:42:05 2015
@@ -40,16 +40,16 @@ import org.apache.pdfbox.tools.pdfdebugg
  */
 public class PDFTreeCellRenderer extends DefaultTreeCellRenderer
 {
-    private final ImageIcon ICON_ARRAY = new ImageIcon(getImageUrl("array"));
-    private final ImageIcon ICON_DICT = new ImageIcon(getImageUrl("dict"));
-    private final ImageIcon ICON_HEX = new ImageIcon(getImageUrl("hex"));
-    private final ImageIcon ICON_INDIRECT = new ImageIcon(getImageUrl("indirect"));
-    private final ImageIcon ICON_INTEGER = new ImageIcon(getImageUrl("integer"));
-    private final ImageIcon ICON_NAME = new ImageIcon(getImageUrl("name"));
-    //private final ImageIcon ICON_NULL = new ImageIcon(getImageUrl("null"));
-    private final ImageIcon ICON_REAL = new ImageIcon(getImageUrl("real"));
-    private final ImageIcon ICON_STREAM_DICT = new ImageIcon(getImageUrl("stream-dict"));
-    private final ImageIcon ICON_STRING = new ImageIcon(getImageUrl("string"));
+    private static final ImageIcon ICON_ARRAY = new ImageIcon(getImageUrl("array"));
+    private static final ImageIcon ICON_DICT = new ImageIcon(getImageUrl("dict"));
+    private static final ImageIcon ICON_HEX = new ImageIcon(getImageUrl("hex"));
+    private static final ImageIcon ICON_INDIRECT = new ImageIcon(getImageUrl("indirect"));
+    private static final ImageIcon ICON_INTEGER = new ImageIcon(getImageUrl("integer"));
+    private static final ImageIcon ICON_NAME = new ImageIcon(getImageUrl("name"));
+    //private static final ImageIcon ICON_NULL = new ImageIcon(getImageUrl("null"));
+    private static final ImageIcon ICON_REAL = new ImageIcon(getImageUrl("real"));
+    private static final ImageIcon ICON_STREAM_DICT = new ImageIcon(getImageUrl("stream-dict"));
+    private static final ImageIcon ICON_STRING = new ImageIcon(getImageUrl("string"));
 
     private static URL getImageUrl(String name)
     {



Mime
View raw message