lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENENET-309) TestSort.TestTypedSort fails (2)
Date Tue, 24 Nov 2009 20:31:39 GMT
TestSort.TestTypedSort fails (2)
--------------------------------

                 Key: LUCENENET-309
                 URL: https://issues.apache.org/jira/browse/LUCENENET-309
             Project: Lucene.Net
          Issue Type: Bug
            Reporter: Digy
         Attachments: LUCENENET-309.patch

LUCENENET-307 was a fix for "double", this is for "byte".

Since Java's byte ranges from -128 to 127 we have to use "sbyte" instead of "byte".
(see the  negative values in the "byte" column of "data" in TestSort.cs)

Changing the definition "byte ParseByte(System.String string_Renamed)" to "sbyte ParseByte(System.String
string_Renamed)" in FieldCache,as a chain reaction, resulted in a big patch.

DIGY



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