jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r613908 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java
Date Mon, 21 Jan 2008 14:49:56 GMT
Author: mreutegg
Date: Mon Jan 21 06:49:55 2008
New Revision: 613908

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

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java?rev=613908&r1=613907&r2=613908&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/AggregateRuleImpl.java
Mon Jan 21 06:49:55 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