Merge pull request #11622 from izeye:unnecessary-assertion
* pr/11622: Remove an unnecessary assertion
This commit is contained in:
commit
74707bb75c
|
|
@ -112,9 +112,6 @@ public abstract class DynamicRegistrationBean<D extends Registration.Dynamic>
|
||||||
+ "(possibly already registered?)");
|
+ "(possibly already registered?)");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Assert.state(registration != null,
|
|
||||||
() -> "Registration is null. Was something already registered for "
|
|
||||||
+ description + "?");
|
|
||||||
configure(registration);
|
configure(registration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue