mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-05-04 05:17:15 +01:00
Revise ApplicationContext#getId() nullability to non-null
Closes gh-35925
This commit is contained in:
@@ -61,9 +61,9 @@ public interface ApplicationContext extends EnvironmentCapable, ListableBeanFact
|
||||
|
||||
/**
|
||||
* Return the unique id of this application context.
|
||||
* @return the unique id of the context, or {@code null} if none
|
||||
* @return the unique id of the context (never null as of 7.0.2)
|
||||
*/
|
||||
@Nullable String getId();
|
||||
String getId();
|
||||
|
||||
/**
|
||||
* Return a name for the deployed application that this context belongs to.
|
||||
|
||||
Reference in New Issue
Block a user