Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ configure(javaProjects) { subproject ->
testImplementation "org.hamcrest:hamcrest-core:$hamcrestVersion"
optionalApi "org.assertj:assertj-core:$assertjVersion"

errorprone 'com.uber.nullaway:nullaway:0.12.3'
errorprone 'com.uber.nullaway:nullaway:0.12.4'
errorprone 'com.google.errorprone:error_prone_core:2.36.0'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ public ConsumerRecordKeyValueCondition(K key, V value) {
}

@Override
public boolean matches(ConsumerRecord<K, V> value) {
@SuppressWarnings("NullAway") // Overridden method does not define nullness
public boolean matches(@Nullable ConsumerRecord<K, @Nullable V> value) {
return this.keyCondition.matches(value) && this.valueCondition.matches(value);
}

Expand Down