Skip to content

Commit

Permalink
Fix typos in comments and error messages (#2488)
Browse files Browse the repository at this point in the history
  • Loading branch information
machenity authored Aug 14, 2024
1 parent a19d6c1 commit a345797
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ default boolean previousAnnotationForDependentResourcesEventFiltering() {
* <p>
* Disabled by default as Kubernetes does not support, and discourages, this interpretation of
* resourceVersions. Enable only if your api server event processing seems to lag the operator
* logic and you want to further minimize the the amount of work done / updates issued by the
* logic and you want to further minimize the amount of work done / updates issued by the
* operator.
*
* @since 4.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public TypeParameterResolver(DeclaredType interestedClass, int interestedTypeArg
* can be passed.
* @param declaredType Class or Interface which extends or implements the interestedClass, and the
* interest is getting the actual declared type is used.
* @return the type of the parameter if it can be resolved from the the given declareType,
* otherwise it returns null
* @return the type of the parameter if it can be resolved from the given declareType, otherwise
* it returns null
*/
public TypeMirror resolve(Types typeUtils, DeclaredType declaredType) {
final var chain = findChain(typeUtils, declaredType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public UpdateControl<StandaloneDependentTestCustomResource> reconcile(

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

0 comments on commit a345797

Please sign in to comment.