We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b11e3fe commit 7eeeae7Copy full SHA for 7eeeae7
src/main/java/com/github/dockerjava/jaxrs/async/AbstractCallbackNotifier.java
@@ -60,8 +60,7 @@ public Void call() throws Exception {
60
return null;
61
}
62
63
- try {
64
- InputStream inputStream = new WrappedResponseInputStream(response);
+ try (InputStream inputStream = new WrappedResponseInputStream(response)) {
65
66
if (resultCallback != null) {
67
responseStreamProcessor.processResponseStream(inputStream, resultCallback);
0 commit comments