File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
src/main/java/com/uber/cadence
internal/compatibility/proto/mappers Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff line change 3737import com .uber .cadence .serviceclient .exceptions .WorkflowExecutionAlreadyCompletedError ;
3838import com .uber .cadence .serviceclient .exceptions .WorkflowExecutionAlreadyStartedError ;
3939import io .grpc .*;
40- import java .time .Duration ;
4140import java .util .concurrent .CompletableFuture ;
4241import java .util .concurrent .Executor ;
4342import java .util .concurrent .TimeUnit ;
You can’t perform that action at this time.
0 commit comments