Skip to content

Commit 4e584b3

Browse files
LingManars18wrw
authored andcommitted
Minor fixes in itextcore's documentation.
Fix a typo. Make the documentation match its method. Closes 26.
1 parent bfdf621 commit 4e584b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/src/main/java/com/itextpdf/kernel/pdf/PdfArray.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public PdfArray(PdfArray arr) {
9292

9393
/**
9494
* Create a new PdfArray. The array is filled with the four values of the Rectangle in the
95-
* follozing order: left, bottom, right, top.
95+
* following order: left, bottom, right, top.
9696
*
9797
* @param rectangle Rectangle whose 4 values will be added to the PdfArray
9898
*/
@@ -291,7 +291,7 @@ public void remove(int index) {
291291
}
292292

293293
/**
294-
* Removes the PdfObject at the specified index.
294+
* Removes the first occurrence of the specified PdfObject, if it is present.
295295
*
296296
* @param o a PdfObject to be removed
297297
* @see java.util.List#remove(Object)

0 commit comments

Comments
 (0)