jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r613910 - /jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java
Date Mon, 21 Jan 2008 14:50:58 GMT
Author: mreutegg
Date: Mon Jan 21 06:50:57 2008
New Revision: 613910

URL: http://svn.apache.org/viewvc?rev=613910&view=rev
Log:
JCR-1332: CLONE -Aggregate include ignored if no primaryType set

Modified:
    jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java

Modified: jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java?rev=613910&r1=613909&r2=613910&view=diff
==============================================================================
--- jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java
(original)
+++ jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java
Mon Jan 21 06:50:57 2008
@@ -330,7 +330,7 @@
                 for (Iterator it = cne.iterator(); it.hasNext(); ) {
                     NodeId id = ((NodeState.ChildNodeEntry) it.next()).getId();
                     NodeState ns = (NodeState) ism.getItemState(id);
-                    if (nodeTypeName != null || ns.getNodeTypeName().equals(nodeTypeName))
{
+                    if (nodeTypeName == null || ns.getNodeTypeName().equals(nodeTypeName))
{
                         collector.add(ns);
                     }
                 }



Mime
View raw message