Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3b90311

Browse files
committed
Revise ApplicationContext#getId() nullability to non-null
Closesgh-35925
1 parent946fc65 commit3b90311

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎spring-context/src/main/java/org/springframework/context/ApplicationContext.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ public interface ApplicationContext extends EnvironmentCapable, ListableBeanFact
6161

6262
/**
6363
* Return the unique id of this application context.
64-
* @return the unique id of the context, or {@codenull} if none
64+
* @return the unique id of the context (nevernull as of 7.0.2)
6565
*/
66-
@NullableStringgetId();
66+
StringgetId();
6767

6868
/**
6969
* Return a name for the deployed application that this context belongs to.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp