Skip to content

Commit f68f80c

Browse files
denyskameiliang86
authored andcommitted
Fixed typo in JavaDoc (#321)
1 parent 82d366f commit f68f80c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/uber/cadence/workflow/Workflow.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,14 @@
162162
* <p>To convert a synchronous call
163163
*
164164
* <pre><code>
165-
* String localName = activities.download(surceBucket, sourceFile);
165+
* String localName = activities.download(sourceBucket, sourceFile);
166166
* </code></pre>
167167
*
168168
* to asynchronous style, the method reference is passed to {@link Async#function(Func)} or {@link
169169
* Async#procedure(Proc)} followed by activity arguments:
170170
*
171171
* <pre><code>
172-
* Promise<String> localNamePromise = Async.function(activities::download, surceBucket, sourceFile);
172+
* Promise<String> localNamePromise = Async.function(activities::download, sourceBucket, sourceFile);
173173
* </code></pre>
174174
*
175175
* Then to wait synchronously for the result:

0 commit comments

Comments
 (0)