Author: tilman
Date: Sat Nov 15 16:15:28 2025
New Revision: 1929768
Log:
PDFBOX-5660: fix typo, as suggested by Valery Bokov; closes #337
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/fdf/FDFAnnotationPolyline.java
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSStream.java
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFromAnnotsTest.java
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/fdf/FDFAnnotationPolyline.java
==============================================================================
---
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/fdf/FDFAnnotationPolyline.java
Sat Nov 15 14:42:59 2025 (r1929767)
+++
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/fdf/FDFAnnotationPolyline.java
Sat Nov 15 16:15:28 2025 (r1929768)
@@ -122,7 +122,7 @@ public class FDFAnnotationPolyline exten
}
/**
- * This will set the coordinates of the the vertices.
+ * This will set the coordinates of the vertices.
*
* @param vertices array of floats [x1, y1, x2, y2, ...] vertex
coordinates in default user space.
*/
@@ -132,7 +132,7 @@ public class FDFAnnotationPolyline exten
}
/**
- * This will get the coordinates of the the vertices.
+ * This will get the coordinates of the vertices.
*
* @return array of floats [x1, y1, x2, y2, ...] vertex coordinates in
default user space.
*/
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
==============================================================================
---
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
Sat Nov 15 14:42:59 2025 (r1929767)
+++
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
Sat Nov 15 16:15:28 2025 (r1929768)
@@ -129,7 +129,7 @@ public class PDOptionalContentProperties
}
/**
- * Return the the /D dictionary.
+ * Return the /D dictionary.
*
* @return the /D dictionary, never null.
*/
Modified:
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSStream.java
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSStream.java
Sat Nov 15 14:42:59 2025 (r1929767)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSStream.java
Sat Nov 15 16:15:28 2025 (r1929768)
@@ -143,7 +143,7 @@ class TestCOSStream
}
/**
- * Tests tests that encoding is done correctly even if the the stream is
closed twice.
+ * Tests tests that encoding is done correctly even if the stream is
closed twice.
* Closeable.close() allows streams to be closed multiple times. The
second and subsequent
* close() calls should have no effect.
*
Modified:
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFromAnnotsTest.java
==============================================================================
---
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFromAnnotsTest.java
Sat Nov 15 14:42:59 2025 (r1929767)
+++
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFromAnnotsTest.java
Sat Nov 15 16:15:28 2025 (r1929768)
@@ -224,7 +224,7 @@ class PDAcroFormFromAnnotsTest
PDAcroForm acroForm = catalog.getAcroForm(new
CreateFieldsFixup(testPdf));
assertEquals(numFormFieldsByAcrobat, acroForm.getFields().size(),
"After rebuild there shall be " + numFormFieldsByAcrobat + " fields");
- // the the fields found are contained in the map
+ // the fields found are contained in the map
for (PDField field : acroForm.getFieldTree())
{
assertNotNull(fieldsByName.get(field.getFullyQualifiedName()));