You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2012/12/03 22:23:58 UTC

[jira] [Created] (ACE-308) Comparator for LogEvents in StatefulTargetRepositoryImpl violates the interface contract

Marcel Offermans created ACE-308:
------------------------------------

             Summary: Comparator for LogEvents in StatefulTargetRepositoryImpl violates the interface contract
                 Key: ACE-308
                 URL: https://issues.apache.org/jira/browse/ACE-308
             Project: ACE
          Issue Type: Bug
            Reporter: Marcel Offermans


It returns: (int) (someLongValue) and assumes that if the long was negative, so will the int be (and vice versa). This simply is not always true!

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

[jira] [Resolved] (ACE-308) Comparator for LogEvents in StatefulTargetRepositoryImpl violates the interface contract

Posted by "Marcel Offermans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACE-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Offermans resolved ACE-308.
----------------------------------

    Resolution: Fixed

Committed a fix and a test.
                
> Comparator for LogEvents in StatefulTargetRepositoryImpl violates the interface contract
> ----------------------------------------------------------------------------------------
>
>                 Key: ACE-308
>                 URL: https://issues.apache.org/jira/browse/ACE-308
>             Project: ACE
>          Issue Type: Bug
>            Reporter: Marcel Offermans
>            Assignee: Marcel Offermans
>
> It returns: (int) (someLongValue) and assumes that if the long was negative, so will the int be (and vice versa). This simply is not always true!

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

[jira] [Assigned] (ACE-308) Comparator for LogEvents in StatefulTargetRepositoryImpl violates the interface contract

Posted by "Marcel Offermans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACE-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Offermans reassigned ACE-308:
------------------------------------

    Assignee: Marcel Offermans
    
> Comparator for LogEvents in StatefulTargetRepositoryImpl violates the interface contract
> ----------------------------------------------------------------------------------------
>
>                 Key: ACE-308
>                 URL: https://issues.apache.org/jira/browse/ACE-308
>             Project: ACE
>          Issue Type: Bug
>            Reporter: Marcel Offermans
>            Assignee: Marcel Offermans
>
> It returns: (int) (someLongValue) and assumes that if the long was negative, so will the int be (and vice versa). This simply is not always true!

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