Commit 74707bb7 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #11622 from izeye:unnecessary-assertion

* pr/11622:
  Remove an unnecessary assertion
parents 2b99962a f6780bed
...@@ -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