You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2012/12/10 22:51:21 UTC

[jira] [Updated] (JENA-364) RecordingListener does not always report equal values

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

Claude Warren updated JENA-364:
-------------------------------

    Attachment: jena-364.patch

Patch to change to Arrays.deepEquals to compare results
                
> RecordingListener does not always report equal values
> -----------------------------------------------------
>
>                 Key: JENA-364
>                 URL: https://issues.apache.org/jira/browse/JENA-364
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 2.7.4
>            Reporter: Claude Warren
>         Attachments: jena-364.patch
>
>
> RecordingListener compares the results of the listener implementation with the expected results.  However, if the list of triples is equivalent but not the identical list the comparison fails.  This is fixed if the list of expected values and the list of results are compared as an array using deepEquals().
> This does require Java 5.

--
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