pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1793135 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDPageLabels.java
Date Fri, 28 Apr 2017 19:26:50 GMT
Author: tilman
Date: Fri Apr 28 19:26:50 2017
New Revision: 1793135

URL: http://svn.apache.org/viewvc?rev=1793135&view=rev
Log:
PDFBOX-3770: use interface

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDPageLabels.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDPageLabels.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDPageLabels.java?rev=1793135&r1=1793134&r2=1793135&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDPageLabels.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDPageLabels.java Fri
Apr 28 19:26:50 2017
@@ -24,6 +24,7 @@ import java.util.Map;
 import java.util.NoSuchElementException;
 import java.util.TreeMap;
 import java.util.Map.Entry;
+import java.util.SortedSet;
 import java.util.TreeSet;
 
 import org.apache.pdfbox.cos.COSArray;
@@ -245,7 +246,7 @@ public class PDPageLabels implements COS
      *
      * @return set of page indices.
      */
-    public TreeSet<Integer> getPageIndices()
+    public SortedSet<Integer> getPageIndices()
     {
         return new TreeSet(labels.keySet());
     }



Mime
View raw message