pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1821675 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java
Date Fri, 19 Jan 2018 15:52:41 GMT
Author: tilman
Date: Fri Jan 19 15:52:41 2018
New Revision: 1821675

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

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

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java?rev=1821675&r1=1821674&r2=1821675&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java Fri Jan 19
15:52:41 2018
@@ -198,8 +198,7 @@ public class COSArray extends COSBase im
     }
 
     /**
-     * This will get an object from the array.  This will NOT derefernce
-     * the COS object.
+     * This will get an object from the array.  This will NOT dereference the COS object.
      *
      * @param index The index into the array to get the object.
      *
@@ -215,7 +214,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 it does not exist.
      */
     public int getInt( int index )
     {
@@ -223,8 +222,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.



Mime
View raw message