From 2343bf2644506b6fa385af92631d48ff9c16f915 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Tue, 20 Nov 2018 13:20:33 +0100 Subject: Deprecation cleanup --- .../java/com/yahoo/container/handler/ClustersStatus.java | 12 ++++-------- .../src/main/java/com/yahoo/container/handler/VipStatus.java | 8 ++++---- 2 files changed, 8 insertions(+), 12 deletions(-) (limited to 'container-core') 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); } -- cgit v1.2.3