From a4ccea91ad48aff499345412bfe2d7592d36f0e5 Mon Sep 17 00:00:00 2001 From: Redkale <8730487+redkale@users.noreply.github.com> Date: Wed, 29 Aug 2018 16:06:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DFilterJoinNode.any=E6=96=B9?= =?UTF-8?q?=E6=B3=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/org/redkale/source/FilterJoinNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/redkale/source/FilterJoinNode.java b/src/org/redkale/source/FilterJoinNode.java index 140f7d162..6d8e4cc90 100644 --- a/src/org/redkale/source/FilterJoinNode.java +++ b/src/org/redkale/source/FilterJoinNode.java @@ -86,7 +86,7 @@ public class FilterJoinNode extends FilterNode { protected FilterNode any(final FilterNode node0, boolean signor) { Objects.requireNonNull(node0); if (!(node0 instanceof FilterJoinNode)) { - throw new IllegalArgumentException(this + (signor ? " or " : " and ") + " a node but " + String.valueOf(node0) + "is not a " + FilterJoinNode.class.getSimpleName()); + throw new IllegalArgumentException(this + (signor ? " or " : " and ") + " a node but " + String.valueOf(node0) + " is not a " + FilterJoinNode.class.getSimpleName()); } final FilterJoinNode node = (FilterJoinNode) node0; if (this.nodes == null) { @@ -99,7 +99,7 @@ public class FilterJoinNode extends FilterNode { if (this.column == null) this.or = signor; return this; } - this.nodes = new FilterNode[]{new FilterJoinNode(node), node}; + this.nodes = new FilterNode[]{new FilterJoinNode(this), node}; this.column = null; this.express = null; this.itemand = true;