Closed chickenchickenlove closed 1 month ago
*.size() > 0
*.size() == 0
spring-kafka
null
a.size() > 0
!a.isEmpty()
a.size() == 0
a.isEmpty()
BatchMessagingMessageListenerAdapter#setBatchMessageConverter()
Motivation:
*.size() > 0
or*.size() == 0
inspring-kafka
.null
value can occur, but it does not indicate thatnull
is possible.Modifications:
a.size() > 0
with!a.isEmpty()
.a.size() == 0
witha.isEmpty()
.Result:
BatchMessagingMessageListenerAdapter#setBatchMessageConverter()
is executed, new warning log can be occur.