mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-26 03:19:02 +00:00
Merge pull request #11622 from izeye:unnecessary-assertion
* pr/11622: Remove an unnecessary assertion
This commit is contained in:
-3
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user