From 33d2459538299ce97f7578efbb05bd6216317f11 Mon Sep 17 00:00:00 2001 From: Greg Burd Date: Mon, 13 Nov 2017 11:01:30 -0500 Subject: [PATCH] Sometimes there are no filters. --- .../core/operation/AbstractFilterOperation.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/main/java/net/helenus/core/operation/AbstractFilterOperation.java b/src/main/java/net/helenus/core/operation/AbstractFilterOperation.java index 692c4a4..8a450c0 100644 --- a/src/main/java/net/helenus/core/operation/AbstractFilterOperation.java +++ b/src/main/java/net/helenus/core/operation/AbstractFilterOperation.java @@ -111,17 +111,19 @@ public abstract class AbstractFilterOperation { - if (filter != null) { - HelenusPropertyNode node = filter.getNode(); - if (node != null) { - HelenusProperty prop = node.getProperty(); - if (prop != null) { - return prop.isIdempotent(); - } + HelenusPropertyNode node = filter.getNode(); + if (node != null) { + HelenusProperty prop = node.getProperty(); + if (prop != null) { + return prop.isIdempotent(); } } return false;