@@ -199,7 +199,7 @@ string randomString = GetRandomString();
199
199
// DON'T DO THIS!
200
200
Instant currentTime = Instant . now();
201
201
UUID newIdentifier = UUID . randomUUID();
202
- string randomString = GetRandomString ();
202
+ String randomString = getRandomString ();
203
203
```
204
204
205
205
{{% /codetab %}}
@@ -246,7 +246,7 @@ string randomString = await context.CallActivityAsync<string>("GetRandomString")
246
246
``` java
247
247
// Do this!!
248
248
Instant currentTime = context. getCurrentInstant();
249
- Guid newIdentifier = context. NewGuid ();
249
+ Guid newIdentifier = context. newGuid ();
250
250
String randomString = context. callActivity(GetRandomString . class. getName(), String . class). await();
251
251
```
252
252
@@ -342,7 +342,7 @@ Do this:
342
342
343
343
``` csharp
344
344
// Do this!!
345
- string configuation = workflowInput .Configuration ; // imaginary workflow input argument
345
+ string configuration = workflowInput .Configuration ; // imaginary workflow input argument
346
346
string data = await context .CallActivityAsync <string >(" MakeHttpCall" , " https://example.com/api/data" );
347
347
```
348
348
@@ -352,7 +352,7 @@ string data = await context.CallActivityAsync<string>("MakeHttpCall", "https://e
352
352
353
353
``` java
354
354
// Do this!!
355
- String configuation = ctx. getInput(InputType . class). getConfiguration(); // imaginary workflow input argument
355
+ String configuration = ctx. getInput(InputType . class). getConfiguration(); // imaginary workflow input argument
356
356
String data = ctx. callActivity(MakeHttpCall . class, " https://example.com/api/data" , String . class). await();
357
357
```
358
358
@@ -362,7 +362,7 @@ String data = ctx.callActivity(MakeHttpCall.class, "https://example.com/api/data
362
362
363
363
``` javascript
364
364
// Do this!!
365
- const configuation = workflowInput .getConfiguration (); // imaginary workflow input argument
365
+ const configuration = workflowInput .getConfiguration (); // imaginary workflow input argument
366
366
const data = yield ctx .callActivity (makeHttpCall, " https://example.com/api/data" );
367
367
```
368
368
0 commit comments