Merge pull request #11622 from izeye:unnecessary-assertion

* pr/11622:
  Remove an unnecessary assertion
pull/11619/merge
Stephane Nicoll 7 years ago
commit 74707bb75c

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

Loading…
Cancel
Save