Skip to content

Commit a345797

Browse files
authored
Fix typos in comments and error messages (#2488)
1 parent a19d6c1 commit a345797

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ default boolean previousAnnotationForDependentResourcesEventFiltering() {
392392
* <p>
393393
* Disabled by default as Kubernetes does not support, and discourages, this interpretation of
394394
* resourceVersions. Enable only if your api server event processing seems to lag the operator
395-
* logic and you want to further minimize the the amount of work done / updates issued by the
395+
* logic and you want to further minimize the amount of work done / updates issued by the
396396
* operator.
397397
*
398398
* @since 4.5.0

Diff for: operator-framework/src/main/java/io/javaoperatorsdk/operator/config/runtime/TypeParameterResolver.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public TypeParameterResolver(DeclaredType interestedClass, int interestedTypeArg
3333
* can be passed.
3434
* @param declaredType Class or Interface which extends or implements the interestedClass, and the
3535
* interest is getting the actual declared type is used.
36-
* @return the type of the parameter if it can be resolved from the the given declareType,
37-
* otherwise it returns null
36+
* @return the type of the parameter if it can be resolved from the given declareType, otherwise
37+
* it returns null
3838
*/
3939
public TypeMirror resolve(Types typeUtils, DeclaredType declaredType) {
4040
final var chain = findChain(typeUtils, declaredType);

Diff for: operator-framework/src/test/java/io/javaoperatorsdk/operator/sample/standalonedependent/StandaloneDependentTestReconciler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public UpdateControl<StandaloneDependentTestCustomResource> reconcile(
4343

4444
if (deployment.get().getSpec().getReplicas() != primary.getSpec().getReplicaCount()) {
4545
// see https://github.com/operator-framework/java-operator-sdk/issues/924
46-
throw new IllegalStateException("Something went wrong withe the cache mechanism.");
46+
throw new IllegalStateException("Something went wrong with the cache mechanism.");
4747
}
4848
return UpdateControl.noUpdate();
4949
}

0 commit comments

Comments
 (0)