File tree Expand file tree Collapse file tree 4 files changed +2
-7
lines changed
spring-aop/src/main/java/org/springframework/aop/target
spring-beans/src/main/java/org/springframework/beans/factory/config
spring-context/src/main/java/org/springframework/jmx/export
spring-expression/src/main/java/org/springframework/expression Expand file tree Collapse file tree 4 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ public class LazyInitTargetSource extends AbstractBeanFactoryBasedTargetSource {
65
65
66
66
67
67
@ Override
68
- @ Nullable
69
68
public synchronized Object getTarget () throws BeansException {
70
69
if (this .target == null ) {
71
70
this .target = getBeanFactory ().getBean (getTargetBeanName ());
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ public void afterPropertiesSet() throws Exception {
151
151
* @see #getEarlySingletonInterfaces()
152
152
*/
153
153
@ Override
154
- @ Nullable
154
+ @ SuppressWarnings ( "NullAway" )
155
155
public final T getObject () throws Exception {
156
156
if (isSingleton ()) {
157
157
return (this .initialized ? this .singletonInstance : getEarlySingletonInstance ());
Original file line number Diff line number Diff line change @@ -1112,7 +1112,6 @@ public void setObjectName(ObjectName objectName) {
1112
1112
}
1113
1113
1114
1114
@ Override
1115
- @ Nullable
1116
1115
public Object getTarget () {
1117
1116
try {
1118
1117
return super .getTarget ();
Original file line number Diff line number Diff line change @@ -123,8 +123,6 @@ public final int getPosition() {
123
123
* @see #getSimpleMessage()
124
124
* @see java.lang.Throwable#getMessage()
125
125
*/
126
- @ Override
127
- @ Nullable
128
126
public String getMessage () {
129
127
return toDetailedString ();
130
128
}
@@ -133,7 +131,6 @@ public String getMessage() {
133
131
* Return a detailed description of this exception, including the expression
134
132
* String and position (if available) as well as the actual exception message.
135
133
*/
136
- @ Nullable
137
134
public String toDetailedString () {
138
135
if (this .expressionString != null ) {
139
136
StringBuilder output = new StringBuilder ();
@@ -158,7 +155,7 @@ public String toDetailedString() {
158
155
* that caused the failure.
159
156
* @since 4.0
160
157
*/
161
- @ Nullable
158
+ @ SuppressWarnings ( "NullAway" )
162
159
public String getSimpleMessage () {
163
160
return super .getMessage ();
164
161
}
You can’t perform that action at this time.
0 commit comments