Remove an unnecessary assertion
Closes gh-11622
This commit is contained in:
committed by
Stephane Nicoll
parent
2b99962a85
commit
f6780bed65
@@ -112,9 +112,6 @@ public abstract class DynamicRegistrationBean<D extends Registration.Dynamic>
|
||||
+ "(possibly already registered?)");
|
||||
return;
|
||||
}
|
||||
Assert.state(registration != null,
|
||||
() -> "Registration is null. Was something already registered for "
|
||||
+ description + "?");
|
||||
configure(registration);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user