diff options
author | Harald Musum <musum@verizonmedia.com> | 2019-11-15 08:37:30 +0100 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2019-11-15 08:37:30 +0100 |
commit | 909d83048528f1374ea81926d46ca5a7b4bc9d8c (patch) | |
tree | 3222a1bf8612032e18e0232418c7d0637276e1c5 /config-provisioning/src | |
parent | 52a5a424000cb4a1bcc61e601c6f4a183103e3d1 (diff) |
Remove dead code
Diffstat (limited to 'config-provisioning/src')
-rw-r--r-- | config-provisioning/src/main/java/com/yahoo/config/provision/Rotation.java | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/config-provisioning/src/main/java/com/yahoo/config/provision/Rotation.java b/config-provisioning/src/main/java/com/yahoo/config/provision/Rotation.java deleted file mode 100644 index d1cf86c6d16..00000000000 --- a/config-provisioning/src/main/java/com/yahoo/config/provision/Rotation.java +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.config.provision; - -import java.util.Objects; - -/** - * A rotation (virtual endpoint). - */ -// TODO(mpolden): Remove once 7.122 is the oldest config model -public class Rotation { - - private final String id; - - public Rotation(String id) { - this.id = Objects.requireNonNull(id, "Rotation id cannot be null"); - } - - public String getId() { - return id; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof Rotation)) { - return false; - } - final Rotation that = (Rotation) o; - return (this.id.equals(that.id)); - } - - @Override - public int hashCode() { - return id.hashCode(); - } - - @Override - public String toString() { - return "rotation '" + id + "'"; - } - -} |