Skip to content

Commit

Permalink
PDFBOX-2530: treat null like COSNull
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1687587 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Jun 25, 2015
1 parent 5099426 commit 0ee713f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ else if (nodeValue instanceof COSName)
{
result = ((COSName) nodeValue).getName();
}
else if (nodeValue instanceof COSNull || nodeValue == null))
else if (nodeValue instanceof COSNull || nodeValue == null)
{
result = "";
}
Expand Down Expand Up @@ -252,7 +252,7 @@ else if (nodeValue instanceof COSName)
{
return ICON_NAME;
}
else if (nodeValue instanceof COSNull || nodeValue == null))
else if (nodeValue instanceof COSNull || nodeValue == null)
{
return ICON_NULL;
}
Expand Down

0 comments on commit 0ee713f

Please sign in to comment.