mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-06 09:19:19 +00:00
Merge branch '4.0.x' into 4.1.x
Closes gh-51087
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ public class RestartScopeInitializer implements ApplicationContextInitializer<Co
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object remove(String name) {
|
||||
public @Nullable Object remove(String name) {
|
||||
return Restarter.getInstance().removeAttribute(name);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -450,7 +450,7 @@ public class Restarter {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object removeAttribute(String name) {
|
||||
public @Nullable Object removeAttribute(String name) {
|
||||
return this.attributes.remove(name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user