Address review comments
diff --git a/toolchains/local_java_repository.bzl b/toolchains/local_java_repository.bzl index 54d9baa..3b8c386 100644 --- a/toolchains/local_java_repository.bzl +++ b/toolchains/local_java_repository.bzl
@@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Rules for importing and registering a local JDK.""" +"""Rules for importing a local JDK.""" load("//java:defs.bzl", "java_runtime") load(":default_java_toolchain.bzl", "default_java_toolchain")
diff --git a/toolchains/remote_java_repository.bzl b/toolchains/remote_java_repository.bzl index 2fa7a36..86916ec 100644 --- a/toolchains/remote_java_repository.bzl +++ b/toolchains/remote_java_repository.bzl
@@ -12,9 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Rules for importing and registering JDKs from http archive. +"""Rules for importing JDKs from http archive. -Rule remote_java_repository imports and registers JDK with the toolchain resolution. +Rule remote_java_repository imports a JDK and creates toolchain definitions for it. """ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")