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