Skip to content

Commit b6333f4

Browse files
committed
PDFBOX-5660: optimize, as suggested by Valery Bokov; closes #238
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1928135 13f79535-47bb-0310-9956-ffa450edef68
1 parent 0e54182 commit b6333f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDPageLabels.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public PDPageLabels(PDDocument document, COSDictionary dict) throws IOException
100100
private void findLabels(PDNumberTreeNode node) throws IOException
101101
{
102102
List<PDNumberTreeNode> kids = node.getKids();
103-
if (node.getKids() != null)
103+
if (kids != null)
104104
{
105105
for (PDNumberTreeNode kid : kids)
106106
{

0 commit comments

Comments
 (0)