Archived
0

Sonar: [squid:S2095] Use try-with-resources

This commit is contained in:
2019-02-11 14:11:24 +03:00
parent f08190fba7
commit d47fb586ca
6 changed files with 73 additions and 49 deletions

View File

@@ -81,4 +81,9 @@ public class ByteArrayInputNetStream extends NetInputStream_p340 {
public void skipBytes(int count) {
throw new UnsupportedOperationException();
}
@Override
public void close() throws IOException {
bais.close();
}
}