aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/cmdline
diff options
context:
space:
mode:
authorGravatar jcater <jcater@google.com>2017-08-30 23:10:11 +0200
committerGravatar Vladimir Moskva <vladmos@google.com>2017-08-31 13:44:41 +0200
commit7b00f1499463f5c24475a6789661df82019b9103 (patch)
treef47377fff45cdd605b70c49d94ffbee88f936456 /src/main/java/com/google/devtools/build/lib/cmdline
parentccb43ee3eb2940883ef57c2e6491b8e1a9bd24ef (diff)
Fix typo on PackageIdentifier documentation.
PiperOrigin-RevId: 167047092
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/cmdline')
-rw-r--r--src/main/java/com/google/devtools/build/lib/cmdline/PackageIdentifier.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/cmdline/PackageIdentifier.java b/src/main/java/com/google/devtools/build/lib/cmdline/PackageIdentifier.java
index f99bf9af26..591bb4d928 100644
--- a/src/main/java/com/google/devtools/build/lib/cmdline/PackageIdentifier.java
+++ b/src/main/java/com/google/devtools/build/lib/cmdline/PackageIdentifier.java
@@ -63,6 +63,7 @@ public final class PackageIdentifier
* Tries to infer the package identifier from the given exec path. This method does not perform
* any I/O, but looks solely at the structure of the exec path. The resulting identifier may
* actually be a subdirectory of a package rather than a package, e.g.:
+ *
* <pre><code>
* + WORKSPACE
* + foo/BUILD
@@ -72,8 +73,8 @@ public final class PackageIdentifier
* In this case, this method returns a package identifier for foo/bar, even though that is not a
* package. Callers need to look up the actual package if needed.
*
- * @throws LabelSyntaxException if the exec path seems to be for an external repository that doe
- * not have a valid repository name (see {@link RepositoryName#create})
+ * @throws LabelSyntaxException if the exec path seems to be for an external repository that does
+ * not have a valid repository name (see {@link RepositoryName#create})
*/
public static PackageIdentifier discoverFromExecPath(PathFragment execPath, boolean forFiles)
throws LabelSyntaxException {