mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 18:29:03 +00:00
Remove an unnecessary assertion
Closes gh-11622
This commit is contained in:
committed by
Stephane Nicoll
parent
2b99962a85
commit
f6780bed65
-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