Skip to content

Commit a6dfb93

Browse files
committed
Fix linter issues
1 parent 72c8358 commit a6dfb93

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

src/main/java/com/pipedream/api/AsyncBaseClient.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import com.pipedream.api.resources.tokens.AsyncTokensClient;
1818
import com.pipedream.api.resources.triggers.AsyncTriggersClient;
1919
import com.pipedream.api.resources.users.AsyncUsersClient;
20-
2120
import java.util.function.Supplier;
2221

2322
public class AsyncBaseClient {

src/main/java/com/pipedream/api/AsyncPipedreamClient.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
import com.pipedream.api.core.Environment;
55
import com.pipedream.api.core.Suppliers;
66
import com.pipedream.api.resources.workflows.WorkflowsClient;
7-
import org.immutables.value.Value;
8-
97
import java.util.Optional;
108
import java.util.function.Supplier;
9+
import org.immutables.value.Value;
1110

1211
@Value
1312
public class AsyncPipedreamClient extends AsyncBaseClient {

src/main/java/com/pipedream/api/BaseClient.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import com.pipedream.api.resources.tokens.TokensClient;
1818
import com.pipedream.api.resources.triggers.TriggersClient;
1919
import com.pipedream.api.resources.users.UsersClient;
20-
2120
import java.util.function.Supplier;
2221

2322
public class BaseClient {

src/main/java/com/pipedream/api/PipedreamClient.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
import com.pipedream.api.core.Environment;
55
import com.pipedream.api.core.Suppliers;
66
import com.pipedream.api.resources.workflows.WorkflowsClient;
7-
import org.immutables.value.Value;
8-
97
import java.util.Optional;
108
import java.util.function.Supplier;
9+
import org.immutables.value.Value;
1110

1211
@Value
1312
public class PipedreamClient extends BaseClient {

src/main/java/com/pipedream/api/resources/proxy/AsyncRawProxyClient.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)