jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r925141 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/ConcurrentQueriesWithUpdatesTest.java
Date Fri, 19 Mar 2010 08:56:01 GMT
Author: mreutegg
Date: Fri Mar 19 08:56:01 2010
New Revision: 925141

URL: http://svn.apache.org/viewvc?rev=925141&view=rev
Log:
JCR-2524: Reduce memory usage of DocIds
- remove System.out debug calls

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/ConcurrentQueriesWithUpdatesTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/ConcurrentQueriesWithUpdatesTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/ConcurrentQueriesWithUpdatesTest.java?rev=925141&r1=925140&r2=925141&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/ConcurrentQueriesWithUpdatesTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/ConcurrentQueriesWithUpdatesTest.java
Fri Mar 19 08:56:01 2010
@@ -66,7 +66,6 @@ public class ConcurrentQueriesWithUpdate
                             QueryManager qm = session.getWorkspace().getQueryManager();
                             while (running.get()) {
                                 Query q = qm.createQuery(testPath + "//element(*, nt:unstructured)
order by @jcr:score descending", Query.XPATH);
-                                System.out.println(Thread.currentThread().getName() + " executed
query");
                                 NodeIterator nodes = q.execute().getNodes();
                                 assertEquals("wrong result set size", numNodes, nodes.getSize());
                                 queryExecuted.offer(new Object());
@@ -99,7 +98,6 @@ public class ConcurrentQueriesWithUpdate
                                 if (nodes.hasNext()) {
                                     Node n = nodes.nextNode();
                                     n.setProperty("foo", "bar");
-                                    System.out.println("updated " + n.getPath());
                                     session.save();
                                 }
                             }



Mime
View raw message