@@ -331,7 +331,7 @@ public void saveUpdateAndGetStateWithEtag() {
331
331
332
332
333
333
response = daprClient .getState (STATE_STORE_NAME , new State <>(stateKey , (MyData ) null , null ), MyData .class );
334
- //retrive the data wihout any etag
334
+ //retrieve the data without any etag
335
335
myDataResponse = response .block ();
336
336
337
337
//review that state value changes
@@ -509,7 +509,7 @@ public void saveAndDeleteStateWithWrongEtag() {
509
509
public void saveUpdateAndGetStateWithEtagAndStateOptionsFirstWrite () {
510
510
final String stateKey = "keyToBeUpdatedWithEtagAndOptions" ;
511
511
512
- //create option with concurrency with first writte and consistency of strong
512
+ //create option with concurrency with first write and consistency of strong
513
513
StateOptions stateOptions = new StateOptions (StateOptions .Consistency .STRONG ,
514
514
StateOptions .Concurrency .FIRST_WRITE );
515
515
@@ -571,7 +571,7 @@ public void saveUpdateAndGetStateWithEtagAndStateOptionsFirstWrite() {
571
571
public void saveUpdateAndGetStateWithEtagAndStateOptionsLastWrite () {
572
572
final String stateKey = "keyToBeUpdatedWithEtagAndOptions" ;
573
573
574
- //create option with concurrency with first writte and consistency of strong
574
+ //create option with concurrency with first write and consistency of strong
575
575
StateOptions stateOptions = new StateOptions (StateOptions .Consistency .STRONG , StateOptions .Concurrency .LAST_WRITE );
576
576
577
577
//create dapr client
@@ -599,7 +599,7 @@ public void saveUpdateAndGetStateWithEtagAndStateOptionsLastWrite() {
599
599
assertEquals ("data in property A" , myDataResponse .getValue ().getPropertyA ());
600
600
assertEquals ("data in property B" , myDataResponse .getValue ().getPropertyB ());
601
601
602
- //change data to be udpated
602
+ //change data to be updated
603
603
data .setPropertyA ("data in property A2" );
604
604
data .setPropertyB ("data in property B2" );
605
605
//create deferred action to update the action with options
0 commit comments