Commit f6780bed authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Remove an unnecessary assertion

Closes gh-11622
parent 2b99962a
...@@ -112,9 +112,6 @@ public abstract class DynamicRegistrationBean<D extends Registration.Dynamic> ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment