@@ -158,9 +158,8 @@ static WorkflowClient newInstance(WorkflowServiceStubs service, WorkflowClientOp
158158 * @param workflowId Workflow id.
159159 * @param runId Run id of the workflow execution.
160160 * @return Stub that implements workflowInterface and can be used to signal, update, or query it.
161- * @deprecated Use {@link #newWorkflowStub(Class, WorkflowTargetOptions)} instead.
162- * @apiNote This method is deprecated because the returned stub does not properly account for the
163- * runId.
161+ * @deprecated Use {@link #newWorkflowStub(Class, WorkflowTargetOptions)} instead. This method is
162+ * deprecated because the returned stub does not properly account for the runId.
164163 */
165164 @ Deprecated
166165 <T > T newWorkflowStub (Class <T > workflowInterface , String workflowId , Optional <String > runId );
@@ -205,9 +204,8 @@ static WorkflowClient newInstance(WorkflowServiceStubs service, WorkflowClientOp
205204 * workflowId is assumed.
206205 * @param workflowType type of the workflow. Optional as it is used for error reporting only.
207206 * @return Stub that can be used to start workflow and later to signal or query it.
208- * @deprecated Use {@link #newUntypedWorkflowStub(WorkflowTargetOptions, Optional)} instead.
209- * @apiNote This method is deprecated because the returned stub does not properly account for the
210- * runId.
207+ * @deprecated Use {@link #newUntypedWorkflowStub(WorkflowTargetOptions, Optional)} instead. This
208+ * method is deprecated because the returned stub does not properly account for the runId.
211209 */
212210 @ Deprecated
213211 WorkflowStub newUntypedWorkflowStub (
@@ -220,9 +218,8 @@ WorkflowStub newUntypedWorkflowStub(
220218 * @param execution workflow id and optional run id for execution
221219 * @param workflowType type of the workflow. Optional as it is used for error reporting only.
222220 * @return Stub that can be used to start workflow and later to signal or query it.
223- * @deprecated Use {@link #newUntypedWorkflowStub(WorkflowTargetOptions, Optional)} instead.
224- * @apiNote This method is deprecated because the returned stub does not properly account for the
225- * runId.
221+ * @deprecated Use {@link #newUntypedWorkflowStub(WorkflowTargetOptions, Optional)} instead. This
222+ * method is deprecated because the returned stub does not properly account for the runId.
226223 */
227224 WorkflowStub newUntypedWorkflowStub (WorkflowExecution execution , Optional <String > workflowType );
228225
0 commit comments