Skip to content

Commit fb77d39

Browse files
committed
lint
1 parent 3151ecd commit fb77d39

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/main/java/com/uber/cadence/internal/compatibility/proto/mappers/ResponseMapper.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ public static com.uber.cadence.entities.ClusterInfo getClusterInfoResponse(
118118
if (t == null) {
119119
return null;
120120
}
121-
com.uber.cadence.entities.ClusterInfo clusterInfo =
122-
new com.uber.cadence.entities.ClusterInfo();
121+
com.uber.cadence.entities.ClusterInfo clusterInfo = new com.uber.cadence.entities.ClusterInfo();
123122
clusterInfo.setSupportedClientVersions(supportedClientVersions(t.getSupportedClientVersions()));
124123
return clusterInfo;
125124
}
@@ -493,8 +492,7 @@ public static com.uber.cadence.entities.ClusterInfo clusterInfoResponse(
493492
if (clusterInfo == null) {
494493
return null;
495494
}
496-
com.uber.cadence.entities.ClusterInfo res =
497-
new com.uber.cadence.entities.ClusterInfo();
495+
com.uber.cadence.entities.ClusterInfo res = new com.uber.cadence.entities.ClusterInfo();
498496
res.setSupportedClientVersions(
499497
TypeMapper.supportedClientVersions(clusterInfo.getSupportedClientVersions()));
500498
return res;

src/main/java/com/uber/cadence/serviceclient/AsyncMethodCallback.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ public interface AsyncMethodCallback<T> {
1818
/**
1919
* Called when the remote service has completed processing the request and the response has been
2020
* fully received.
21+
*
2122
* @param response
2223
*/
2324
public void onComplete(T response);
2425

2526
/**
26-
* Called when there is an unexpected expection. Exception is wrapped in {@link ServiceClientError}.
27+
* Called when there is an unexpected expection. Exception is wrapped in {@link
28+
* ServiceClientError}.
2729
*
2830
* @param exception
2931
*/

src/main/java/com/uber/cadence/serviceclient/WorkflowServiceGrpc.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
import com.uber.cadence.serviceclient.exceptions.WorkflowExecutionAlreadyCompletedError;
3838
import com.uber.cadence.serviceclient.exceptions.WorkflowExecutionAlreadyStartedError;
3939
import io.grpc.*;
40-
import java.time.Duration;
4140
import java.util.concurrent.CompletableFuture;
4241
import java.util.concurrent.Executor;
4342
import java.util.concurrent.TimeUnit;

0 commit comments

Comments
 (0)