jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Bayanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1226) ServerQuery does not use RemoteAdapterFactory for creating ServerQueryResult
Date Wed, 21 Nov 2007 14:52:43 GMT
ServerQuery does not use RemoteAdapterFactory for creating ServerQueryResult
----------------------------------------------------------------------------

                 Key: JCR-1226
                 URL: https://issues.apache.org/jira/browse/JCR-1226
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-jcr-rmi
    Affects Versions: 1.3
            Reporter: Vladimir Bayanov


The ServerQuery sould use the Factory for creating ServerQueryResult.

Siehe the method ServerQuery.execute():

{code}
public RemoteQueryResult execute() throws RepositoryException, RemoteException {
        return new ServerQueryResult(query.execute(), getFactory());
    }
{code}

it should be:
{code}
    public RemoteQueryResult execute() throws RepositoryException, RemoteException {
        return getFactory().getRemoteQueryResult(this.query.execute());
    }
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message