pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1687869 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/flagbitspane/FlagBitsPane.java
Date Fri, 26 Jun 2015 22:29:25 GMT
Author: tilman
Date: Fri Jun 26 22:29:25 2015
New Revision: 1687869

URL: http://svn.apache.org/r1687869
Log:
PDFBOX-2530: set constant all caps

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/flagbitspane/FlagBitsPane.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/flagbitspane/FlagBitsPane.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/flagbitspane/FlagBitsPane.java?rev=1687869&r1=1687868&r2=1687869&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/flagbitspane/FlagBitsPane.java
(original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/flagbitspane/FlagBitsPane.java
Fri Jun 26 22:29:25 2015
@@ -42,7 +42,7 @@ import org.apache.pdfbox.pdmodel.interac
  */
 public class FlagBitsPane
 {
-    private final static String[] columnNames = {"Bit\nPosition", "Name", "Status"};
+    private static final String[] COLUMNNAMES = {"Bit\nPosition", "Name", "Status"};
     private JPanel panel;
 
     /**
@@ -74,7 +74,7 @@ public class FlagBitsPane
         flagValueLabel.setAlignmentX(Component.LEFT_ALIGNMENT);
         flagValueLabel.setFont(new Font(Font.MONOSPACED, Font.BOLD, 20));
 
-        JTable table = new JTable(flagBits, columnNames);
+        JTable table = new JTable(flagBits, COLUMNNAMES);
         JScrollPane scrollPane = new JScrollPane(table);
         table.setFillsViewportHeight(true);
         scrollPane.setAlignmentX(Component.LEFT_ALIGNMENT);



Mime
View raw message