code clean up

This commit is contained in:
Shinsuke Sugaya 2018-12-05 06:23:59 +09:00
parent ee3f5af858
commit 6ea472b7ef
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ public class SambaHelper {
if (logger.isDebugEnabled()) {
try {
logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
} catch (Exception e) {
} catch (final Exception e) {
// ignore
}
}

View file

@ -216,7 +216,7 @@ public class ThumbnailManager {
}).filter(f -> f != null).forEach(f -> {
try {
f.get();
} catch (Exception e) {
} catch (final Exception e) {
logger.warn("Failed to process a thumbnail generation.", e);
}
});

View file

@ -37,7 +37,7 @@ public final class EsUtil {
try (final XContentBuilder builder = xContent.toXContent(XContentFactory.contentBuilder(xContentType), ToXContent.EMPTY_PARAMS)) {
builder.flush();
return builder.getOutputStream();
} catch (IOException e) {
} catch (final IOException e) {
if (logger.isDebugEnabled()) {
logger.debug("Failed to print the output.", e);
}