aboutsummaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-11-20 13:20:33 +0100
committerJon Bratseth <bratseth@oath.com>2018-11-20 13:20:33 +0100
commit2343bf2644506b6fa385af92631d48ff9c16f915 (patch)
treeb13c488696112d4567b78adeee3be05c48002680 /container-core
parenta549b3d81757eb3670982c936c1312a939003816 (diff)
Deprecation cleanup
Diffstat (limited to 'container-core')
-rw-r--r--container-core/src/main/java/com/yahoo/container/handler/ClustersStatus.java12
-rw-r--r--container-core/src/main/java/com/yahoo/container/handler/VipStatus.java8
2 files changed, 8 insertions, 12 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/handler/ClustersStatus.java b/container-core/src/main/java/com/yahoo/container/handler/ClustersStatus.java
index 484628397c0..4f4d4635933 100644
--- a/container-core/src/main/java/com/yahoo/container/handler/ClustersStatus.java
+++ b/container-core/src/main/java/com/yahoo/container/handler/ClustersStatus.java
@@ -60,18 +60,14 @@ public class ClustersStatus extends AbstractComponent {
}
}
- /**
- @deprecated Use setUp(String) instead
- */
- @Deprecated
+ /** @deprecated use setUp(String) instead */
+ @Deprecated // TODO: Remove on Vespa 8
public void setUp(Object clusterIdentifier) {
setUp((String) clusterIdentifier);
}
- /**
- @deprecated Use setDown(String) instead
- */
- @Deprecated
+ /** @deprecated use setDown(String) instead */
+ @Deprecated // TODO: Remove on Vespa 8
public void setDown(Object clusterIdentifier) {
setDown((String) clusterIdentifier);
}
diff --git a/container-core/src/main/java/com/yahoo/container/handler/VipStatus.java b/container-core/src/main/java/com/yahoo/container/handler/VipStatus.java
index ebb56af8853..3b71ffff616 100644
--- a/container-core/src/main/java/com/yahoo/container/handler/VipStatus.java
+++ b/container-core/src/main/java/com/yahoo/container/handler/VipStatus.java
@@ -58,14 +58,14 @@ public class VipStatus {
clustersStatus.setDown(clusterIdentifier);
}
- /** @deprecated Use addToRotation(String) instead */
- @Deprecated
+ /** @deprecated use addToRotation(String) instead */
+ @Deprecated // TODO: Remove on Vespa 8
public void addToRotation(Object clusterIdentifier) {
addToRotation((String) clusterIdentifier);
}
- /** @deprecated Use removeFromRotation(String) instead */
- @Deprecated
+ /** @deprecated use removeFromRotation(String) instead */
+ @Deprecated // TODO: Remove on Vespa 8
public void removeFromRotation(Object clusterIdentifier) {
removeFromRotation((String) clusterIdentifier);
}