Fix documentation regarding target references.

The line was wrong (reported here: https://groups.google.com/d/msg/bazel-discuss/ZFQqjjhUYz0/598TmWPMAgAJ).

RELNOTES: None.
PiperOrigin-RevId: 267987146
diff --git a/site/docs/tutorial/java.md b/site/docs/tutorial/java.md
index 7de0b9f..9e9d9881 100644
--- a/site/docs/tutorial/java.md
+++ b/site/docs/tutorial/java.md
@@ -345,8 +345,8 @@
 target, then `path/to/package` is the path to the root of the package, and
 `target-name` is the name of the target file, including its full path.
 
-When referencing targets within the same package, you can skip the package path
-and just use `//:target-name`. When referencing targets within the same `BUILD`
+When referencing targets at the repository root, the package path is empty,
+just use `//:target-name`. When referencing targets within the same `BUILD`
 file, you can even skip the `//` workspace root identifier and just use
 `:target-name`.