pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1623205 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDRange.java
Date Sun, 07 Sep 2014 20:24:26 GMT
Author: tilman
Date: Sun Sep  7 20:24:26 2014
New Revision: 1623205

URL: http://svn.apache.org/r1623205
Log:
PDFBOX-2329: add toString method to PDRange

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDRange.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDRange.java?rev=1623205&r1=1623204&r2=1623205&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDRange.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDRange.java Sun Sep
 7 20:24:26 2014
@@ -129,4 +129,14 @@ public class PDRange implements COSObjec
     {
         rangeArray.set( startingIndex*2+1, new COSFloat( max ) );
     }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    public String toString()
+    {
+        return "PDRange{" + getMin() + ", " + getMax() + '}';
+    }
+    
 }



Mime
View raw message