Remove an unnecessary assertion

Closes gh-11622
This commit is contained in:
Johnny Lim
2018-01-13 20:35:50 +09:00
committed by Stephane Nicoll
parent 2b99962a85
commit f6780bed65

View File

@@ -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);
}