uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilo Goetz (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Closed: (UIMA-1492) wrong equals impl in FSLeafIndexImpl
Date Mon, 31 Aug 2009 09:13:32 GMT

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

Thilo Goetz closed UIMA-1492.
-----------------------------

    Resolution: Invalid

It always takes me half a day at least to understand the CAS index implementation, and I don't
expect findbugs to.  AFAICT, there's nothing wrong here, works as "designed".


> wrong equals impl in FSLeafIndexImpl
> ------------------------------------
>
>                 Key: UIMA-1492
>                 URL: https://issues.apache.org/jira/browse/UIMA-1492
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Thilo Goetz
>            Priority: Minor
>
> Findbugs reporting Equals checking for noncompatible operand in FSLeafIndexImpl, line
347.
> This equals method is checking to see if the argument, an incompatible type (i.e., a
class that is neither a supertype nor subtype of FSLeafIndexImpl)., is "equal" to this FSLeafIndexImpl's
comparator.  
> So we could get a particular comparitor being said to be "equal" to a FSLeafIndexImpl.


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