Skip to content

Commit

Permalink
fix some typos (#579)
Browse files Browse the repository at this point in the history
Signed-off-by: cuishuang <imcusg@gmail.com>
  • Loading branch information
cuishuang committed Mar 10, 2022
1 parent 4694024 commit 5138a22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def pgv_dependencies(maven_repos = _DEFAULT_REPOSITORIES):
strip_prefix = "protobuf-3.15.3",
)

# TODO(akonradi): This shouldn't be necesary since the same http_archive block is imported by
# TODO(akonradi): This shouldn't be necessary since the same http_archive block is imported by
# protobuf_deps from @com_google_protobuf. Investigate why.
if not native.existing_rule("zlib"):
http_archive(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
@FunctionalInterface
public interface ValidatorIndex {
/**
* Retuns the validator for {@code clazz}, or {@code ALWAYS_VALID} if not found.
* Returns the validator for {@code clazz}, or {@code ALWAYS_VALID} if not found.
*/
<T> Validator<T> validatorFor(Class clazz);

/**
* Retuns the validator for {@code <T>}, or {@code ALWAYS_VALID} if not found.
* Returns the validator for {@code <T>}, or {@code ALWAYS_VALID} if not found.
*/
@SuppressWarnings("unchecked")
default <T> Validator<T> validatorFor(Object instance) {
Expand Down

0 comments on commit 5138a22

Please sign in to comment.