Skip to content

Commit 9cdcb30

Browse files
Remove @Nullable
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent a0ce80d commit 9cdcb30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/connection/CachingClientConnectionFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void setComponentName(String componentName) {
140140
}
141141

142142
@Override
143-
public @Nullable String getComponentType() {
143+
public String getComponentType() {
144144
return this.targetConnectionFactory.getComponentType();
145145
}
146146

spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/connection/ThreadAffinityClientConnectionFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void setApplicationEventPublisher(ApplicationEventPublisher applicationEv
106106
}
107107

108108
@Override
109-
public @Nullable String getComponentType() {
109+
public String getComponentType() {
110110
return this.connectionFactory.getComponentType();
111111
}
112112

0 commit comments

Comments
 (0)