[error prone] fix "FutureReturnValueIgnored" error in FS
Change-Id: I53731091b3e34ac2e93a18f0ad6dd04dc56f8177 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
a52b331d71
commit
2f8911181b
|
@ -363,7 +363,7 @@ private static FileStoreAttributes getFileStoreAttributes(Path dir) {
|
||||||
}
|
}
|
||||||
return attributes;
|
return attributes;
|
||||||
});
|
});
|
||||||
f.exceptionally(e -> {
|
f = f.exceptionally(e -> {
|
||||||
LOG.error(e.getLocalizedMessage(), e);
|
LOG.error(e.getLocalizedMessage(), e);
|
||||||
return Optional.empty();
|
return Optional.empty();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue