Skip to content

Commit

Permalink
Add deprecated since notice
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobEdding committed Apr 23, 2024
1 parent fff6a12 commit 090a645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testFixtures/java/com/bakdata/kserve/KServeMock.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand All @@ -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();
}
Expand Down

0 comments on commit 090a645

Please sign in to comment.