aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2015-07-17 18:21:10 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-07-20 13:24:48 +0000
commitd6425eaf699f42d0b8b7ab0d1da5595f4b51d16d (patch)
tree30a0645d70f7827a1280ce79fbf6699116d9069c /src/main
parentb16e71b29e1104d2475ccd1278910a92497dbee8 (diff)
Fix up some faulty documentation.
-- MOS_MIGRATED_REVID=98507575
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/google/devtools/build/lib/vfs/PathFragment.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/PathFragment.java b/src/main/java/com/google/devtools/build/lib/vfs/PathFragment.java
index 7feeeea2fc..d14f781703 100644
--- a/src/main/java/com/google/devtools/build/lib/vfs/PathFragment.java
+++ b/src/main/java/com/google/devtools/build/lib/vfs/PathFragment.java
@@ -368,11 +368,11 @@ public final class PathFragment implements Comparable<PathFragment>, Serializabl
/**
* Returns the path formed by appending the relative or absolute path fragment
- * {@code suffix} to this path.
+ * {@code otherFragment} to this path.
*
- * <p>If suffix is absolute, the current path will be ignored; otherwise, they
- * will be concatenated. This is a purely syntactic operation, with no path
- * normalization or I/O performed.
+ * <p>If {@code otherFragment} is absolute, the current path will be ignored;
+ * otherwise, they will be concatenated. This is a purely syntactic operation,
+ * with no path normalization or I/O performed.
*/
public PathFragment getRelative(PathFragment otherFragment) {
return otherFragment.isAbsolute()
@@ -484,7 +484,7 @@ public final class PathFragment implements Comparable<PathFragment>, Serializabl
* a prefix of {@code this}, and that they are both relative or both
* absolute.
*
- * This is a reflexive, transitive, anti-symmetric relation (i.e. a partial
+ * <p>This is a reflexive, transitive, anti-symmetric relation (i.e. a partial
* order)
*/
public boolean startsWith(PathFragment prefix) {
@@ -505,7 +505,7 @@ public final class PathFragment implements Comparable<PathFragment>, Serializabl
* Returns true iff {@code suffix}, considered as a list of path segments, is
* relative and a suffix of {@code this}, or both are absolute and equal.
*
- * This is a reflexive, transitive, anti-symmetric relation (i.e. a partial
+ * <p>This is a reflexive, transitive, anti-symmetric relation (i.e. a partial
* order)
*/
public boolean endsWith(PathFragment suffix) {