Merge pull request #11622 from izeye:unnecessary-assertion
* pr/11622: Remove an unnecessary assertion
This commit is contained in:
@@ -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