We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4e5ac52 + 6f12228 commit 5d83ed8Copy full SHA for 5d83ed8
1 file changed
src/main/java/com/auth0/net/VoidRequest.java
@@ -5,8 +5,6 @@
5
import okhttp3.OkHttpClient;
6
import okhttp3.Response;
7
8
-import java.util.Map;
9
-
10
public class VoidRequest extends CustomRequest<Void> {
11
12
public VoidRequest(OkHttpClient client, String url, String method) {
@@ -19,6 +17,7 @@ protected Void parseResponse(Response response) throws Auth0Exception {
19
17
if (!response.isSuccessful()) {
20
18
throw super.createResponseException(response);
21
}
+ response.close();
22
return null;
23
24
0 commit comments