Remove deprecated bind method

This commit is contained in:
Ryan Baxter
2022-11-09 11:06:27 -05:00
parent 8209a047d3
commit 82fb22649b

View File

@@ -109,11 +109,6 @@ public abstract class AbstractAutoServiceRegistration<R extends Registration>
@Override
@SuppressWarnings("deprecation")
public void onApplicationEvent(WebServerInitializedEvent event) {
bind(event);
}
@Deprecated
public void bind(WebServerInitializedEvent event) {
ApplicationContext context = event.getApplicationContext();
if (context instanceof ConfigurableWebServerApplicationContext) {
if ("management".equals(((ConfigurableWebServerApplicationContext) context).getServerNamespace())) {