jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r511875 - /jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LazyQueryResultImpl.java
Date Mon, 26 Feb 2007 16:17:54 GMT
Author: jukka
Date: Mon Feb 26 08:17:53 2007
New Revision: 511875

URL: http://svn.apache.org/viewvc?view=rev&rev=511875
Log:
1.2: Merged revision 509944 (JCR-758)

Modified:
    jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LazyQueryResultImpl.java

Modified: jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LazyQueryResultImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LazyQueryResultImpl.java?view=diff&rev=511875&r1=511874&r2=511875
==============================================================================
--- jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LazyQueryResultImpl.java
(original)
+++ jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LazyQueryResultImpl.java
Mon Feb 26 08:17:53 2007
@@ -256,6 +256,8 @@
                 try {
                     if (accessMgr.isGranted(id, AccessManager.READ)) {
                         resultNodes.add(new ScoreNode(id, result.score(i)));
+                    } else {
+                        invalid++;
                     }
                 } catch (ItemNotFoundException e) {
                     // has been deleted meanwhile



Mime
View raw message