From 090a64598e9e0222959dc26fce191e7f8cfa32d8 Mon Sep 17 00:00:00 2001 From: Jakob Edding <15202881+JakobEdding@users.noreply.github.com> Date: Tue, 23 Apr 2024 10:09:35 +0200 Subject: [PATCH] Add deprecated since notice --- src/testFixtures/java/com/bakdata/kserve/KServeMock.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testFixtures/java/com/bakdata/kserve/KServeMock.java b/src/testFixtures/java/com/bakdata/kserve/KServeMock.java index 1fec389..af21788 100644 --- a/src/testFixtures/java/com/bakdata/kserve/KServeMock.java +++ b/src/testFixtures/java/com/bakdata/kserve/KServeMock.java @@ -46,7 +46,7 @@ public abstract class KServeMock { * @return A base endpoint * @deprecated This method is deprecated in favor of {@link #getServiceBaseUrl()}. */ - @Deprecated + @Deprecated(since = "2.0.0") public String getBaseEndpoint() { return ":" + this.mockWebServer.getPort(); } @@ -57,7 +57,7 @@ public String getBaseEndpoint() { * @return A service name * @deprecated This method is deprecated in favor of {@link #getServiceBaseUrl()}. */ - @Deprecated + @Deprecated(since = "2.0.0") public String getServiceName() { return this.mockWebServer.getHostName(); }