summaryrefslogtreecommitdiffstats
path: root/component
diff options
context:
space:
mode:
Diffstat (limited to 'component')
-rw-r--r--component/src/main/java/com/yahoo/component/Version.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/component/src/main/java/com/yahoo/component/Version.java b/component/src/main/java/com/yahoo/component/Version.java
index 54a5dfed94a..51ff6ad5dbd 100644
--- a/component/src/main/java/com/yahoo/component/Version.java
+++ b/component/src/main/java/com/yahoo/component/Version.java
@@ -350,7 +350,7 @@ public final class Version implements Comparable<Version> {
/**
* Returns whether this version number is strictly lower than the given version. This has the same semantics as
- * {@link this#compareTo}.
+ * {@link Version#compareTo}.
*/
public boolean isBefore(Version other) {
return compareTo(other) < 0;
@@ -358,7 +358,7 @@ public final class Version implements Comparable<Version> {
/**
* Returns whether this version number is strictly higher than the given version. This has the same semantics as
- * {@link this#compareTo}.
+ * {@link Version#compareTo}.
*/
public boolean isAfter(Version other) {
return compareTo(other) > 0;