Remove an unnecessary assertion

Closes gh-11622
This commit is contained in:
Johnny Lim
2018-01-14 09:31:11 +01:00
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);
}