Sonar: [squid:S2095] Use try-with-resources
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user