Github user mattyb149 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1881#discussion_r119906706
--- Diff:
nifi-commons/nifi-record-path/src/main/java/org/apache/nifi/record/path/filter/NotEqualsFilter.java
---
@@ -30,7 +30,7 @@ public NotEqualsFilter(final RecordPathSegment lhs, final
RecordPathSegment rhs)
protected boolean test(final FieldValue fieldValue, final Object
rhsValue) {
final Object lhsValue = fieldValue.getValue();
if (lhsValue == null) {
- return rhsValue != null;
+ return false;
--- End diff --
What's the reason for this change? Not saying it's wrong, just trying to
understand it :)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---