You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org> on 2007/05/19 23:43:16 UTC

[jira] Resolved: (UIMA-407) Cannot use uima.cas.Double key for index

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