SimpleSelectionTest assumes RowIterator.getSize() not to return -1 ------------------------------------------------------------------
Key: JCR-547 URL: http://issues.apache.org/jira/browse/JCR-547 Project: Jackrabbit Issue Type: Bug Components: JCR TCK Reporter: Julian Reschke Priority: Minor Test case "testSingleProperty" assumes that RowIterator.getSize() will not return -1. This is an incorrect assumption, according to the JavaDoc for RangeIterator. Suggested change: long size = result.getRows().getSize(); if (size != -1) { assertEquals("Should have only 1 result", 1, size); } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira