We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 898d6fa + 0890ec3 commit e5a1cd8Copy full SHA for e5a1cd8
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