Skip to content

Commit cc0c2fd

Browse files
committed
GH-3241: Fix Sonar issue
1 parent 7d7c273 commit cc0c2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-core/src/main/java/org/springframework/integration/selector/MetadataStoreSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public boolean accept(Message<?> message) {
123123
if (oldValue == null) {
124124
return this.metadataStore.putIfAbsent(key, value) == null;
125125
}
126-
if (this.compareValues.test(oldValue, value)) {
126+
if (this.compareValues.test(oldValue, value)) { // NOSONAR (null dereference)
127127
return this.metadataStore.replace(key, oldValue, value);
128128
}
129129
return false;

0 commit comments

Comments
 (0)