@@ -331,7 +331,7 @@ public void saveUpdateAndGetStateWithEtag() {
331331
332332
333333 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
335335 myDataResponse = response .block ();
336336
337337 //review that state value changes
@@ -509,7 +509,7 @@ public void saveAndDeleteStateWithWrongEtag() {
509509 public void saveUpdateAndGetStateWithEtagAndStateOptionsFirstWrite () {
510510 final String stateKey = "keyToBeUpdatedWithEtagAndOptions" ;
511511
512- //create option with concurrency with first writte and consistency of strong
512+ //create option with concurrency with first write and consistency of strong
513513 StateOptions stateOptions = new StateOptions (StateOptions .Consistency .STRONG ,
514514 StateOptions .Concurrency .FIRST_WRITE );
515515
@@ -571,7 +571,7 @@ public void saveUpdateAndGetStateWithEtagAndStateOptionsFirstWrite() {
571571 public void saveUpdateAndGetStateWithEtagAndStateOptionsLastWrite () {
572572 final String stateKey = "keyToBeUpdatedWithEtagAndOptions" ;
573573
574- //create option with concurrency with first writte and consistency of strong
574+ //create option with concurrency with first write and consistency of strong
575575 StateOptions stateOptions = new StateOptions (StateOptions .Consistency .STRONG , StateOptions .Concurrency .LAST_WRITE );
576576
577577 //create dapr client
@@ -599,7 +599,7 @@ public void saveUpdateAndGetStateWithEtagAndStateOptionsLastWrite() {
599599 assertEquals ("data in property A" , myDataResponse .getValue ().getPropertyA ());
600600 assertEquals ("data in property B" , myDataResponse .getValue ().getPropertyB ());
601601
602- //change data to be udpated
602+ //change data to be updated
603603 data .setPropertyA ("data in property A2" );
604604 data .setPropertyB ("data in property B2" );
605605 //create deferred action to update the action with options
0 commit comments