lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENENET-24) test failed when using with different decimal character in regional settings
Date Wed, 28 Mar 2007 02:50:32 GMT

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

George Aroush resolved LUCENENET-24.
------------------------------------

    Resolution: Fixed

Fixed in Lucene.Net 2.0 build 004

> test failed when using with different decimal character in regional settings
> ----------------------------------------------------------------------------
>
>                 Key: LUCENENET-24
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-24
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: n/a
>            Reporter: Marco Dissel
>         Assigned To: George Aroush
>
> Hello
> I've runned the tests on my Windows XP version, using the dutch regional settings.
> Many test are failing due to incorrect parsing of single/floats, especially inside the
QueryParser.Parse(..)
> For example:
> Lucene.Net.QueryParser.TestQueryParser.TestSimple : Query /germ term^2.0/ yielded /germ
term^20,0/, expecting /germ term^2.0/
> 2.0 is converted to 20 by Single.Parse with the ducth culture (in the Netherlands the
, is the default decimal character)..
> I don't  know how the floatValue method in java will handle this..
> Thanks
> Marco

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