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

Eddie Epstein resolved UIMA-407.
--------------------------------

    Resolution: Fixed

Fixed bug found by Mikhail Sogrin; Added test case for double, long and short; 
Fix bug with key=long.

> Cannot use uima.cas.Double key for index
> ----------------------------------------
>
>                 Key: UIMA-407
>                 URL: https://issues.apache.org/jira/browse/UIMA-407
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Mikhail Sogrin
>            Priority: Minor
>
> Cannot use a uima.cas.Double feature as a key for index. Float works 
> correctly.
> After investigating the problem, I found the issue in function 
> FSIndexComparatorImpl.checkType(), line 61.
> Basically, it allows only Int, Float or String as keys for index. However, 
> class FSLeafIndexImpl seems to have support for other types, like Double and 
> Long.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to