@@ -85,6 +85,7 @@ private void resetStrategy() {
8585 * Get all {@link PdfCleanUpLocation} objects from a given {@link PdfPage}
8686 *
8787 * @param page the {@link PdfPage} to be processed
88+ * @return a List of {@link PdfCleanUpLocation} objects
8889 */
8990 public List <PdfCleanUpLocation > getPdfCleanUpLocations (PdfPage page ) {
9091 // get document
@@ -115,6 +116,7 @@ public List<PdfCleanUpLocation> getPdfCleanUpLocations(PdfPage page) {
115116 * Get all {@link PdfCleanUpLocation} objects from a given {@link PdfDocument}
116117 *
117118 * @param doc the {@link PdfDocument} to be processed
119+ * @return a List of {@link PdfCleanUpLocation} objects
118120 */
119121 public List <PdfCleanUpLocation > getPdfCleanUpLocations (PdfDocument doc ) {
120122 PdfDocumentContentParser parser = new PdfDocumentContentParser (doc );
@@ -173,7 +175,7 @@ public void highlight(PdfPage pdfPage) {
173175 * Perform cleanup of areas of interest on a given {@link PdfDocument}
174176 *
175177 * @param pdfDocument the {@link PdfDocument} to be redacted
176- * @throws IOException
178+ * @throws IOException an {@link IOException}
177179 */
178180 public void cleanUp (PdfDocument pdfDocument ) throws IOException {
179181 List <PdfCleanUpLocation > cleanUpLocations = getPdfCleanUpLocations (pdfDocument );
@@ -187,7 +189,7 @@ public void cleanUp(PdfDocument pdfDocument) throws IOException {
187189 * Perform cleanup of areas of interest on a given {@link PdfPage}
188190 *
189191 * @param pdfPage the {@link PdfPage} to be redacted
190- * @throws IOException
192+ * @throws IOException an {@link IOException}
191193 */
192194 public void cleanUp (PdfPage pdfPage ) throws IOException {
193195 List <PdfCleanUpLocation > cleanUpLocations = getPdfCleanUpLocations (pdfPage );
@@ -202,7 +204,7 @@ public void cleanUp(PdfPage pdfPage) throws IOException {
202204 * This method will add all redaction annotations to the given document, allowing
203205 * the end-user to choose which redactions to keep or delete.
204206 *
205- * @param pdfDocument
207+ * @param pdfDocument the document to clean up
206208 */
207209 public void tentativeCleanUp (PdfDocument pdfDocument ) {
208210 for (int i = 1 ; i <= pdfDocument .getNumberOfPages (); i ++)
@@ -214,7 +216,7 @@ public void tentativeCleanUp(PdfDocument pdfDocument) {
214216 * This method will add all redaction annotations to the given page, allowing
215217 * the end-user to choose which redactions to keep or delete.
216218 *
217- * @param pdfPage
219+ * @param pdfPage the page to clean up
218220 */
219221 public void tentativeCleanUp (PdfPage pdfPage ) {
220222 List <PdfCleanUpLocation > cleanUpLocations = getPdfCleanUpLocations (pdfPage );
0 commit comments