Fix unused exception error-prone warning

Ignoring the exception seems intended in this case.

Change-Id: I9dedf61b9cb5a6ff39fb141dd5da19143f4f6978
This commit is contained in:
Han-Wen Nienhuys 2023-01-31 23:24:30 +01:00
parent 66b871b777
commit b30c75be40
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ long getSize(WindowCursor curs, AnyObjectId id) throws IOException {
// refresh directory to work around NFS caching issue // refresh directory to work around NFS caching issue
} }
return getSizeWithoutRefresh(curs, id); return getSizeWithoutRefresh(curs, id);
} catch (FileNotFoundException e) { } catch (FileNotFoundException unused) {
if (fileFor(id).exists()) { if (fileFor(id).exists()) {
throw noFile; throw noFile;
} }