File tree Expand file tree Collapse file tree
src/burpEx/legacy-api/src/main/java/com/sqlmapwebui/burp Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com .sqlmapwebui .burp ;
22
3- import com .google .gson .Gson ;
43import com .google .gson .JsonObject ;
54import com .google .gson .JsonParser ;
65import okhttp3 .*;
@@ -17,7 +16,6 @@ public class ApiClient {
1716
1817 private final String baseUrl ;
1918 private final OkHttpClient httpClient ;
20- private final Gson gson ;
2119
2220 private static final MediaType JSON = MediaType .get ("application/json; charset=utf-8" );
2321 private static final int CONNECT_TIMEOUT = 10 ;
@@ -26,7 +24,6 @@ public class ApiClient {
2624
2725 public ApiClient (String baseUrl ) {
2826 this .baseUrl = baseUrl .endsWith ("/" ) ? baseUrl .substring (0 , baseUrl .length () - 1 ) : baseUrl ;
29- this .gson = new Gson ();
3027 this .httpClient = new OkHttpClient .Builder ()
3128 .connectTimeout (CONNECT_TIMEOUT , TimeUnit .SECONDS )
3229 .readTimeout (READ_TIMEOUT , TimeUnit .SECONDS )
You can’t perform that action at this time.
0 commit comments