Skip to content

Commit c3592b4

Browse files
Fix : Typo in code comments (#1381)
* Fix Typo in Comments Signed-off-by: Deepak <[email protected]> * Update review comments Signed-off-by: Deepak <[email protected]> --------- Signed-off-by: Deepak <[email protected]> Co-authored-by: artur-ciocanu <[email protected]>
1 parent e84d2c4 commit c3592b4

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

examples/src/main/java/io/dapr/examples/DaprApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
public class DaprApplication {
2424

2525
/**
26-
* Starts Dapr's callback in a given port and specified protocal.
26+
* Starts Dapr's callback in a given port and specified protocol.
2727
*
2828
* @param port Port to listen to.
2929
* @param protocal select Http or gRPC to run.

sdk-actors/src/main/java/io/dapr/actors/client/ActorProxyImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ActorProxyImpl implements ActorProxy, InvocationHandler {
4242
private final String actorType;
4343

4444
/**
45-
* Serializer/deserialzier to exchange message for Actors.
45+
* Serializer/deserializer to exchange message for Actors.
4646
*/
4747
private final DaprObjectSerializer serializer;
4848

sdk-tests/src/test/java/io/dapr/it/actors/ActorStateIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public void writeReadState() throws Exception {
5555
new ActorProxyBuilder(actorType, ActorProxy.class, deferClose(run.newActorClient()));
5656
ActorProxy proxy = proxyBuilder.build(actorId);
5757

58-
// wating for actor to be activated
58+
// waiting for actor to be activated
5959
Thread.sleep(5000);
6060

6161
// Validate conditional read works.

sdk-tests/src/test/java/io/dapr/it/state/AbstractStateClientIT.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

sdk/src/main/java/io/dapr/client/DaprClientBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public DaprPreviewClient buildPreviewClient() {
156156
}
157157

158158
/**
159-
* Creates an instance of the GPRC Client.
159+
* Creates an instance of the GRPC Client.
160160
*
161161
* @return the GRPC Client.
162162
* @throws java.lang.IllegalStateException if either host is missing or if port is missing or a negative number.

sdk/src/main/java/io/dapr/client/domain/State.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import java.util.Map;
1818

1919
/**
20-
* This class reprent what a State is.
20+
* This class represents what a State is.
2121
*
2222
* @param <T> The type of the value of the sate
2323
*/

sdk/src/test/java/io/dapr/client/DaprClientGrpcTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ private <T> State<T> buildStateKey(T value, String key, String etag, Map<String,
13651365
* you will not find the state.
13661366
* <p>This test will execute the following flow:</p>
13671367
* <ol>
1368-
* <li>Exeucte client getState for Key=key1</li>
1368+
* <li>Execute client getState for Key=key1</li>
13691369
* <li>Block for result to the the state</li>
13701370
* <li>Assert the Returned State is the expected to key1</li>
13711371
* <li>Execute client getState for Key=key2</li>

sdk/src/test/java/io/dapr/utils/NetworkUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Unless required by applicable law or agreed to in writing, software
88
* distributed under the License is distributed on an "AS IS" BASIS,
99
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10-
* See the License for the sppecific language governing permissions and
10+
* See the License for the specific language governing permissions and
1111
limitations under the License.
1212
*/
1313

spring-boot-examples/kubernetes/kind-with-registry.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
#
1515
# NOTE: the containerd config patch is not necessary with images from kind v0.27.0+
1616
# It may enable some older images to work similarly.
17-
# If you're only supporting newer relases, you can just use `kind create cluster` here.
17+
# If you're only supporting newer releases, you can just use `kind create cluster` here.
1818
#
1919
# See:
2020
# https://github.com/kubernetes-sigs/kind/issues/2875

0 commit comments

Comments
 (0)