summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/YumPackageName.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/YumPackageName.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/YumPackageName.java
index 40a2c49b85a..24dfda0470f 100644
--- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/YumPackageName.java
+++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/YumPackageName.java
@@ -73,15 +73,6 @@ public class YumPackageName {
architecture = packageName.architecture;
}
- /**
- * Set the epoch of the YUM package.
- *
- * <p>WARNING: Should only be invoked if the YUM package actually has an epoch. Typically
- * YUM packages doesn't have one explicitly set, and in case "0" will be used with
- * {@link #toVersionLockName()} (otherwise it fails), but it will be absent from an
- * install with {@link #toName()} (otherwise it fails). This typically means that
- * you should set this only if the epoch is != "0".</p>
- */
public Builder setEpoch(String epoch) { this.epoch = Optional.of(epoch); return this; }
public Builder setName(String name) { this.name = name; return this; }
public Builder setVersion(String version) { this.version = Optional.of(version); return this; }