jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r608836 - /jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/server/ServerQuery.java
Date Fri, 04 Jan 2008 13:46:05 GMT
Author: jukka
Date: Fri Jan  4 05:46:04 2008
New Revision: 608836

URL: http://svn.apache.org/viewvc?rev=608836&view=rev
Log:
JCR-1226: ServerQuery does not use RemoteAdapterFactory for creating ServerQueryResult
    - Fixed as suggested by Vladimir Bayanov

Modified:
    jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/server/ServerQuery.java

Modified: jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/server/ServerQuery.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/server/ServerQuery.java?rev=608836&r1=608835&r2=608836&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/server/ServerQuery.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/server/ServerQuery.java
Fri Jan  4 05:46:04 2008
@@ -55,7 +55,7 @@
     /** {@inheritDoc} */
     public RemoteQueryResult execute()
             throws RepositoryException, RemoteException {
-        return new ServerQueryResult(query.execute(), getFactory());
+        return getFactory().getRemoteQueryResult(query.execute());
     }
 
     /** {@inheritDoc} */



Mime
View raw message