@@ -78,7 +78,8 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
7878 try (ResponseBody responseBody = response .body ()) {
7979 if (response .isSuccessful ()) {
8080 String responseBodyString = responseBody != null ? responseBody .string () : null ;
81- if (responseBodyString == null || responseBodyString .trim ().isEmpty ()) {
81+ if (responseBodyString == null
82+ || responseBodyString .trim ().isEmpty ()) {
8283 future .complete (new BaseClientHttpResponse <>(null , response ));
8384 return ;
8485 }
@@ -145,7 +146,8 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
145146 try (ResponseBody responseBody = response .body ()) {
146147 if (response .isSuccessful ()) {
147148 String responseBodyString = responseBody != null ? responseBody .string () : null ;
148- if (responseBodyString == null || responseBodyString .trim ().isEmpty ()) {
149+ if (responseBodyString == null
150+ || responseBodyString .trim ().isEmpty ()) {
149151 future .complete (new BaseClientHttpResponse <>(null , response ));
150152 return ;
151153 }
@@ -212,7 +214,8 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
212214 try (ResponseBody responseBody = response .body ()) {
213215 if (response .isSuccessful ()) {
214216 String responseBodyString = responseBody != null ? responseBody .string () : null ;
215- if (responseBodyString == null || responseBodyString .trim ().isEmpty ()) {
217+ if (responseBodyString == null
218+ || responseBodyString .trim ().isEmpty ()) {
216219 future .complete (new BaseClientHttpResponse <>(null , response ));
217220 return ;
218221 }
@@ -271,7 +274,8 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
271274 try (ResponseBody responseBody = response .body ()) {
272275 if (response .isSuccessful ()) {
273276 String responseBodyString = responseBody != null ? responseBody .string () : null ;
274- if (responseBodyString == null || responseBodyString .trim ().isEmpty ()) {
277+ if (responseBodyString == null
278+ || responseBodyString .trim ().isEmpty ()) {
275279 future .complete (new BaseClientHttpResponse <>(null , response ));
276280 return ;
277281 }
@@ -338,7 +342,8 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
338342 try (ResponseBody responseBody = response .body ()) {
339343 if (response .isSuccessful ()) {
340344 String responseBodyString = responseBody != null ? responseBody .string () : null ;
341- if (responseBodyString == null || responseBodyString .trim ().isEmpty ()) {
345+ if (responseBodyString == null
346+ || responseBodyString .trim ().isEmpty ()) {
342347 future .complete (new BaseClientHttpResponse <>(null , response ));
343348 return ;
344349 }
0 commit comments