pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1656197 - in /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel: PDPageContentStream.java PDResources.java common/COSStreamArray.java common/PDObjectStream.java
Date Sat, 31 Jan 2015 14:31:50 GMT
Author: tilman
Date: Sat Jan 31 14:31:50 2015
New Revision: 1656197

URL: http://svn.apache.org/r1656197
Log:
PDFBOX-2576: fix typo; remove uneeded assignment

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDObjectStream.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java?rev=1656197&r1=1656196&r2=1656197&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java Sat
Jan 31 14:31:50 2015
@@ -1374,7 +1374,7 @@ public final class PDPageContentStream i
     }
 
     /**
-     * Draw a line from the current position to the the given coordinates.
+     * Draw a line from the current position to the given coordinates.
      *
      * @param x The x coordinate.
      * @param y The y coordinate.

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java?rev=1656197&r1=1656196&r2=1656197&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java Sat Jan 31
14:31:50 2015
@@ -72,8 +72,9 @@ public final class PDResources implement
     }
 
     /**
-     * Returns the the underlying dictionary.
+     * Returns the underlying dictionary.
      */
+    @Override
     public COSDictionary getCOSObject()
     {
         return resources;

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java?rev=1656197&r1=1656196&r2=1656197&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java
Sat Jan 31 14:31:50 2015
@@ -133,7 +133,7 @@ public class COSStreamArray extends COSS
     @Override
     public List<Object> getStreamTokens() throws IOException
     {
-        List<Object> retval = null;
+        List<Object> retval;
         if( streams.size() > 0 )
         {
             PDFStreamParser parser = new PDFStreamParser( this );

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDObjectStream.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDObjectStream.java?rev=1656197&r1=1656196&r2=1656197&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDObjectStream.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDObjectStream.java
Sat Jan 31 14:31:50 2015
@@ -43,7 +43,7 @@ public class PDObjectStream extends PDSt
     }
 
     /**
-     * This will create a new PDStream object.
+     * This will create a new PDObjectStream object.
      *
      * @param document The document that the stream will be part of.
      * @return A new stream object.



Mime
View raw message