Skip to content

Commit

Permalink
fixed to work with Sejda 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
torakiki committed Oct 13, 2020
1 parent c451c97 commit 23a1552
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ public void execute(BulkRotateParameters parameters) throws TaskException {
int currentStep = 0;

for (PdfRotationInput input : parameters.getInputSet()) {
executionContext().assertTaskNotCancelled();
currentStep++;
LOG.debug("Opening {}", input.source);
try {
Expand All @@ -80,7 +79,6 @@ public void execute(BulkRotateParameters parameters) throws TaskException {

PdfRotator rotator = new PdfRotator(documentHandler.getUnderlyingPDDocument());
for (Integer page : input.getPages(documentHandler.getNumberOfPages())) {
executionContext().assertTaskNotCancelled();
rotator.rotate(page, input.rotation);
}

Expand Down

0 comments on commit 23a1552

Please sign in to comment.