Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
3  ...ounge-dispatcher/src/main/java/ch/entwine/weblounge/dispatcher/impl/handler/ImageRequestHandlerImpl.java
View
@@ -394,6 +394,7 @@ public boolean service(WebloungeRequest request, WebloungeResponse response) {
FileUtils.deleteQuietly(f);
f = f.getParentFile();
}
+ logger.error("Scaled image '{}' has content length 0", imageURI);
DispatchUtils.sendInternalError(request, response);
return true;
}
@@ -443,7 +444,7 @@ void addPreviewGenerator(ImagePreviewGenerator generator) {
previewGenerators.add(generator);
Collections.sort(previewGenerators, new Comparator<PreviewGenerator>() {
public int compare(PreviewGenerator a, PreviewGenerator b) {
- return Integer.valueOf(a.getPriority()).compareTo(b.getPriority());
+ return Integer.valueOf(b.getPriority()).compareTo(a.getPriority());
}
});
}

No commit comments for this range

Something went wrong with that request. Please try again.