Remove deprecated AbstractAutoServiceRegistration constructor
This commit is contained in:
@@ -71,13 +71,6 @@ public abstract class AbstractAutoServiceRegistration<R extends Registration>
|
||||
|
||||
private List<RegistrationLifecycle<R>> registrationLifecycles = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* @deprecated This function is deprecated and can be replaced by another constructor
|
||||
*/
|
||||
@Deprecated
|
||||
protected AbstractAutoServiceRegistration(ServiceRegistry<R> serviceRegistry) {
|
||||
this.serviceRegistry = serviceRegistry;
|
||||
}
|
||||
|
||||
protected AbstractAutoServiceRegistration(ServiceRegistry<R> serviceRegistry,
|
||||
AutoServiceRegistrationProperties properties) {
|
||||
|
||||
@@ -168,7 +168,7 @@ public class AbstractAutoServiceRegistrationMgmtDisabledTests {
|
||||
}
|
||||
|
||||
protected TestAutoServiceRegistration() {
|
||||
super(new TestServiceRegistry());
|
||||
super(new TestServiceRegistry(), new AutoServiceRegistrationProperties());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -111,7 +111,7 @@ class AbstractAutoServiceRegistrationRegistrationLifecycleTests {
|
||||
TestRegistrationLifecycleRegistration testRegistrationLifecycleRegistration = new TestRegistrationLifecycleRegistration();
|
||||
|
||||
protected TestAutoServiceRegistrationLifecycle() {
|
||||
super(new TestRegistrationLifecycleServiceRegistration());
|
||||
super(new TestRegistrationLifecycleServiceRegistration(), new AutoServiceRegistrationProperties());
|
||||
}
|
||||
|
||||
TestAutoServiceRegistrationLifecycle(AutoServiceRegistrationProperties properties) {
|
||||
|
||||
@@ -240,7 +240,7 @@ public class AbstractAutoServiceRegistrationTests {
|
||||
}
|
||||
|
||||
protected TestAutoServiceRegistration() {
|
||||
super(new TestServiceRegistry());
|
||||
super(new TestServiceRegistry(), new AutoServiceRegistrationProperties());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user