Skip to content

Commit

Permalink
PDFBOX-5839: Sonar fix
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1918331 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Jun 14, 2024
1 parent 7ce2792 commit cf9f662
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ public Collection<PDOptionalContentGroup> getOptionalContentGroups()
COSArray ocgs = getOCGs();
for (COSBase base : ocgs)
{
COSDictionary dict = toDictionary(base);
if (dict != null)
COSDictionary dictionary = toDictionary(base);
if (dictionary != null)
{
coll.add(new PDOptionalContentGroup(dict));
coll.add(new PDOptionalContentGroup(dictionary));
}
}
return coll;
Expand Down

0 comments on commit cf9f662

Please sign in to comment.