zigarn commented on code in PR #12434:
URL: https://github.com/apache/kafka/pull/12434#discussion_r932924121


##########
connect/runtime/src/test/java/org/apache/kafka/connect/runtime/rest/RestServerTest.java:
##########
@@ -75,6 +79,20 @@ public void setUp() {
 
     @After
     public void tearDown() {
+        if (response != null) {
+            try {
+                response.close();
+            } catch (IOException e) {
+                e.printStackTrace();
+            }

Review Comment:
   No relevant anymore when using a try-with-resources in tests.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to