jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r792547 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryResultImpl.java
Date Thu, 09 Jul 2009 13:20:51 GMT
Author: jukka
Date: Thu Jul  9 13:20:50 2009
New Revision: 792547

URL: http://svn.apache.org/viewvc?rev=792547&view=rev
Log:
JCR-2201: Implement QueryResult.getSelectorNames()

Oops, copy paste error.

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryResultImpl.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryResultImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryResultImpl.java?rev=792547&r1=792546&r2=792547&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryResultImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryResultImpl.java
Thu Jul  9 13:20:50 2009
@@ -22,6 +22,7 @@
 
 import javax.jcr.NodeIterator;
 import javax.jcr.RepositoryException;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.query.QueryResult;
 import javax.jcr.query.RowIterator;
 
@@ -60,11 +61,10 @@
         this.queryInfo = queryInfo;
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    // TODO: JCR-2201: Implement QueryResult.getSelectorNames()
     public String[] getSelectorNames() throws RepositoryException {
-        return queryInfo.getColumnNames();
+        throw new UnsupportedRepositoryOperationException(
+                "JCR-2201: Implement QueryResult.getSelectorNames()");
     }
 
     /**



Mime
View raw message