pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1676830 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageXYZDestination.java
Date Wed, 29 Apr 2015 19:20:43 GMT
Author: tilman
Date: Wed Apr 29 19:20:43 2015
New Revision: 1676830

URL: http://svn.apache.org/r1676830
Log:
PDFBOX-2576: remove unneeded cast (both methods do the same)

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageXYZDestination.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageXYZDestination.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageXYZDestination.java?rev=1676830&r1=1676829&r2=1676830&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageXYZDestination.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageXYZDestination.java
Wed Apr 29 19:20:43 2015
@@ -77,7 +77,7 @@ public class PDPageXYZDestination extend
         array.growToSize( 3 );
         if( x == -1 )
         {
-            array.set( 2, (COSBase)null );
+            array.set(2, null);
         }
         else
         {
@@ -106,7 +106,7 @@ public class PDPageXYZDestination extend
         array.growToSize( 4 );
         if( y == -1 )
         {
-            array.set( 3, (COSBase)null );
+            array.set(3, null);
         }
         else
         {
@@ -140,7 +140,7 @@ public class PDPageXYZDestination extend
         array.growToSize( 5 );
         if( zoom == -1 )
         {
-            array.set( 4, (COSBase)null );
+            array.set(4, null);
         }
         else
         {



Mime
View raw message