pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1687587 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeCellRenderer.java
Date Thu, 25 Jun 2015 17:21:48 GMT
Author: tilman
Date: Thu Jun 25 17:21:47 2015
New Revision: 1687587

URL: http://svn.apache.org/r1687587
Log:
PDFBOX-2530: treat null like COSNull

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=1687587&r1=1687586&r2=1687587&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
Thu Jun 25 17:21:47 2015
@@ -149,7 +149,7 @@ public class PDFTreeCellRenderer extends
         {
             result = ((COSName) nodeValue).getName();
         }
-        else if (nodeValue instanceof COSNull || nodeValue == null))
+        else if (nodeValue instanceof COSNull || nodeValue == null)
         {
             result = "";
         }
@@ -252,7 +252,7 @@ public class PDFTreeCellRenderer extends
         {
             return ICON_NAME;
         }
-        else if (nodeValue instanceof COSNull || nodeValue == null))
+        else if (nodeValue instanceof COSNull || nodeValue == null)
         {
             return ICON_NULL;
         }



Mime
View raw message