Skip to content

Commit

Permalink
Removed test on isLast for Postprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
massimocarli authored and tyronen committed Jul 20, 2015
1 parent 1b1103a commit be644d6
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@ public CachedPostprocessorConsumer(final Consumer<CloseableReference<CloseableIm

@Override
protected void onNewResultImpl(CloseableReference<CloseableImage> newResult, boolean isLast) {
// We should only receive final results from the postprocessor, but let's be defensive just
// in case.
if (!isLast) {
return;
}

// Given a null result, we just pass it on.
if (newResult == null) {
getConsumer().onNewResult(null, true);
Expand Down

0 comments on commit be644d6

Please sign in to comment.