Merge pull request #11622 from izeye:unnecessary-assertion

* pr/11622:
  Remove an unnecessary assertion
This commit is contained in:
Stephane Nicoll 2018-01-14 09:31:38 +01:00
commit 74707bb75c
1 changed files with 0 additions and 3 deletions

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