You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2009/08/14 12:36:14 UTC

[jira] Created: (UIMA-1492) wrong equals impl in FSLeafIndexImpl

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.


[jira] Closed: (UIMA-1492) wrong equals impl in FSLeafIndexImpl

Posted by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org>.
     [ 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.