You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/java/org/springframework/integration/config/AbstractSimpleMessageHandlerFactoryBean.java
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,8 @@ public abstract class AbstractSimpleMessageHandlerFactoryBean<H extends MessageH
76
76
@SuppressWarnings("NullAway.Init")
77
77
privateBeanFactorybeanFactory;
78
78
79
-
private@NullableHhandler;
79
+
@SuppressWarnings("NullAway.Init")
80
+
privateHhandler;
80
81
81
82
private@NullableMessageChanneloutputChannel;
82
83
@@ -195,18 +196,14 @@ public void setComponentName(String componentName) {
195
196
publicHgetObject() {
196
197
if (this.handler == null) {
197
198
this.handler = createHandlerInternal();
198
-
Assert.notNull(this.handler, "failed to create MessageHandler");
199
199
}
200
200
returnthis.handler;
201
201
}
202
202
203
-
protectedfinal@NullableHcreateHandlerInternal() {
203
+
protectedfinalHcreateHandlerInternal() {
204
204
this.initializationMonitor.lock();
205
205
try {
206
-
if (this.initialized) {
207
-
// There was a problem when this method was called already
0 commit comments