mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-02 13:48:15 +02:00
refactor: remove unused createTokensWithoutTargetText
method in RedactController
This commit is contained in:
parent
23a559e10a
commit
344602cba4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user