code clean up
This commit is contained in:
parent
ee3f5af858
commit
6ea472b7ef
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue