Fix unused exception error-prone warning
Ignoring the exception seems intended in this case. Change-Id: I9dedf61b9cb5a6ff39fb141dd5da19143f4f6978
This commit is contained in:
parent
66b871b777
commit
b30c75be40
|
@ -254,7 +254,7 @@ long getSize(WindowCursor curs, AnyObjectId id) throws IOException {
|
|||
// refresh directory to work around NFS caching issue
|
||||
}
|
||||
return getSizeWithoutRefresh(curs, id);
|
||||
} catch (FileNotFoundException e) {
|
||||
} catch (FileNotFoundException unused) {
|
||||
if (fileFor(id).exists()) {
|
||||
throw noFile;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue