refactor: remove unused createTokensWithoutTargetText method in RedactController

This commit is contained in:
Balázs Szücs 2025-07-15 17:53:07 +02:00
parent 23a559e10a
commit 344602cba4

View File

@ -676,15 +676,6 @@ public class RedactController {
return applyRedactionsToTokens(tokens, textSegments, matches);
}
List<Object> createTokensWithoutTargetText(
PDPage page, Set<String> targetWords, boolean useRegex, boolean wholeWordSearch)
throws IOException {
try (PDDocument tempDoc = new PDDocument()) {
return createTokensWithoutTargetText(
tempDoc, page, targetWords, useRegex, wholeWordSearch);
}
}
private void processPageXObjects(
PDDocument document,
PDResources resources,