jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r910523 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/benchmark/ReadPerformanceTest.java
Date Tue, 16 Feb 2010 14:06:08 GMT
Author: mduerig
Date: Tue Feb 16 14:06:08 2010
New Revision: 910523

URL: http://svn.apache.org/viewvc?rev=910523&view=rev
Log:
JCR-2499: Add simple benchmarking tools for jcr2spi read performance
removing unused method

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/benchmark/ReadPerformanceTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/benchmark/ReadPerformanceTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/benchmark/ReadPerformanceTest.java?rev=910523&r1=910522&r2=910523&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/benchmark/ReadPerformanceTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/benchmark/ReadPerformanceTest.java
Tue Feb 16 14:06:08 2010
@@ -31,7 +31,6 @@
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 
-import org.apache.commons.collections.iterators.EmptyIterator;
 import org.apache.commons.collections.iterators.FilterIterator;
 import org.apache.commons.collections.iterators.IteratorChain;
 import org.apache.commons.collections.iterators.SingletonIterator;
@@ -349,11 +348,6 @@
     }
 
     @SuppressWarnings("unchecked")
-    private static <T> Iterator<T> empty() {
-        return EmptyIterator.INSTANCE;
-    }
-
-    @SuppressWarnings("unchecked")
     private static <T> Iterator<T> filter(Iterator<T> source, final Predicate<T>
predicate) {
         return new FilterIterator(source, new org.apache.commons.collections.Predicate()
{
             public boolean evaluate(Object object) {



Mime
View raw message