@@ -129,21 +129,21 @@ public class PdfCleanUpTool {
129
129
* Use {@link PdfCleanUpTool#addCleanupLocation(PdfCleanUpLocation)} method
130
130
* to set regions to be erased from the document.
131
131
*
132
- * @param pdfDocument A{@link com.itextpdf.kernel.pdf. PdfDocument} object representing the document
132
+ * @param pdfDocument A {@link PdfDocument} object representing the document
133
133
* to which redaction applies.
134
134
*/
135
135
public PdfCleanUpTool (PdfDocument pdfDocument ) {
136
136
this (pdfDocument , false );
137
137
}
138
138
139
139
/**
140
- * Creates a {@link PdfCleanUpTool} object. If {@param cleanRedactAnnotations} is true,
140
+ * Creates a {@link PdfCleanUpTool} object. If {@code cleanRedactAnnotations} is true,
141
141
* regions to be erased are extracted from the redact annotations contained inside the given document.
142
- * Those redact annotations will be removed from the resultant document. If {@param cleanRedactAnnotations} is false,
142
+ * Those redact annotations will be removed from the resultant document. If {@code cleanRedactAnnotations} is false,
143
143
* then no regions for erasing are specified. In that case use {@link PdfCleanUpTool#addCleanupLocation(PdfCleanUpLocation)}
144
144
* method to set regions to be erased from the document.
145
145
*
146
- * @param pdfDocument A{@link com.itextpdf.kernel.pdf. PdfDocument} object representing the document
146
+ * @param pdfDocument A {@link PdfDocument} object representing the document
147
147
* to which redaction applies.
148
148
* @param cleanRedactAnnotations if true - regions to be erased are extracted from the redact annotations contained
149
149
* inside the given document.
@@ -200,8 +200,8 @@ public PdfCleanUpTool(PdfDocument pdfDocument, boolean cleanRedactAnnotations) {
200
200
* Creates a {@link PdfCleanUpTool} object based on the given {@link java.util.List}
201
201
* of {@link PdfCleanUpLocation}s representing regions to be erased from the document.
202
202
*
203
- * @param cleanUpLocations list of locations to be cleaned up {@see PdfCleanUpLocation}
204
- * @param pdfDocument A{@link com.itextpdf.kernel.pdf. PdfDocument} object representing the document
203
+ * @param cleanUpLocations list of locations to be cleaned up {@link PdfCleanUpLocation}
204
+ * @param pdfDocument A {@link PdfDocument} object representing the document
205
205
* to which redaction applies.
206
206
*/
207
207
public PdfCleanUpTool (PdfDocument pdfDocument , List <PdfCleanUpLocation > cleanUpLocations ) {
@@ -284,8 +284,6 @@ private void addColoredRectangle(PdfCanvas canvas, PdfCleanUpLocation location)
284
284
/**
285
285
* Adds clean up locations to be erased by extracting regions from the redact annotations
286
286
* contained inside the given document. Those redact annotations will be removed from the resultant document.
287
- *
288
- * @return current {@link PdfCleanUpTool} instance.
289
287
*/
290
288
private void addCleanUpLocationsBasedOnRedactAnnotations () {
291
289
redactAnnotations = new LinkedHashMap <>();
0 commit comments