You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2018/01/19 15:52:36 UTC

svn commit: r1821674 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java

Author: tilman
Date: Fri Jan 19 15:52:36 2018
New Revision: 1821674

URL: http://svn.apache.org/viewvc?rev=1821674&view=rev
Log:
PDFBOX-4071: improve javadoc

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java?rev=1821674&r1=1821673&r2=1821674&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java Fri Jan 19 15:52:36 2018
@@ -215,7 +215,7 @@ public class COSArray extends COSBase im
      *
      * @param index The index into the list.
      *
-     * @return The value at that index or -1 if it is null.
+     * @return The value at that index or -1 if does not exist.
      */
     public int getInt( int index )
     {
@@ -223,8 +223,7 @@ public class COSArray extends COSBase im
     }
 
     /**
-     * Get the value of the array as an integer, return the default if it does
-     * not exist.
+     * Get the value of the array as an integer, return the default if it does not exist.
      *
      * @param index The value of the array.
      * @param defaultValue The value to return if the value is null.