From 8b9ab0b1892477912073c0df7712d9e7520e8983 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sat, 25 Apr 2009 18:21:06 +0000 Subject: Undo change from 1114. --- src/main/java/com/amazon/carbonado/qe/StandardQuery.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/main/java/com/amazon') diff --git a/src/main/java/com/amazon/carbonado/qe/StandardQuery.java b/src/main/java/com/amazon/carbonado/qe/StandardQuery.java index c86a5f3..736f31f 100644 --- a/src/main/java/com/amazon/carbonado/qe/StandardQuery.java +++ b/src/main/java/com/amazon/carbonado/qe/StandardQuery.java @@ -163,9 +163,7 @@ public abstract class StandardQuery extends AbstractQuery if (getBlankParameterCount() > 0) { throw new IllegalStateException("Blank parameters exist in query: " + this); } - // Unbind is required to ensure sub-filters with common elements - // don't share values. - newFilter = mFilter.unbind().and(filter); + newFilter = mFilter.and(filter); newValues = newFilter.initialFilterValues(); if (mValues != null) { newValues = newValues.withValues(mValues.getSuppliedValues()); @@ -181,9 +179,7 @@ public abstract class StandardQuery extends AbstractQuery if (getBlankParameterCount() > 0) { throw new IllegalStateException("Blank parameters exist in query: " + this); } - // Unbind is required to ensure sub-filters with common elements don't - // share values. - Filter newFilter = mFilter.unbind().or(filter); + Filter newFilter = mFilter.or(filter); FilterValues newValues = newFilter.initialFilterValues(); if (mValues != null) { newValues = newValues.withValues(mValues.getSuppliedValues()); -- cgit v1.2.3