Skip to content

Commit 1f0ce7e

Browse files
committed
[proxima-beam-core] fix sonar
1 parent 8c07e07 commit 1f0ce7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • beam/core/src/main/java/cz/o2/proxima/beam/core/transforms/retract

beam/core/src/main/java/cz/o2/proxima/beam/core/transforms/retract/RetractJoin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ private <PK, SK, PV, SV> void processSecondaryElement(
335335
retractConsumer.apply(
336336
primaryKey,
337337
secondaryKey,
338-
oldPrimaryValue.getValue().getValue(),
338+
Objects.requireNonNull(oldPrimaryValue, "oldPrimaryValue").getValue().getValue(),
339339
secondaryValue.getValue().getValue(),
340340
max(thisInstant, secondaryValue.getKey()));
341341
}

0 commit comments

Comments
 (0)