mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-06 13:48:58 +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);
|
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(
|
private void processPageXObjects(
|
||||||
PDDocument document,
|
PDDocument document,
|
||||||
PDResources resources,
|
PDResources resources,
|
||||||
|
Loading…
Reference in New Issue
Block a user