jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCR-3408) Query tests should avoid casting to QueryManagerImpl
Date Tue, 10 Sep 2013 14:38:54 GMT

     [ https://issues.apache.org/jira/browse/JCR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Alex Parvulescu resolved JCR-3408.

       Resolution: Fixed
    Fix Version/s: 2.7.1
> Query tests should avoid casting to QueryManagerImpl
> ----------------------------------------------------
>                 Key: JCR-3408
>                 URL: https://issues.apache.org/jira/browse/JCR-3408
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>             Fix For: 2.7.1
> A lot of query tests flush the search index before to ensure consistency.
> Getting the SearchIndex instance happens via casting the QueryManager to the jackrabbit
>   ((QueryManagerImpl) qm)
> I'd like to change this direct casting into a instanceof verification. 
> This doesn't fix everything but at least it will allow other projects (like oak) to run
most of the query tests, without running into ClassCastException(s).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message