lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENENET-278) Instances of DateField class cannot be created.
Date Wed, 18 Nov 2009 18:26:39 GMT

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

Digy resolved LUCENENET-278.
----------------------------

    Resolution: Fixed

Thanks Nicholas,
I replaced 36's with SupportClass.Character.MAX_RADIX.
patch committed.
DIGY

> Instances of DateField class cannot be created.
> -----------------------------------------------
>
>                 Key: LUCENENET-278
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-278
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Nicholas Paldino
>            Priority: Blocker
>         Attachments: DateField.patch
>
>
> The DateFIeld class has a line which is called on object creation (it is in a field assignment):
> System.Convert.ToString(1000L * 365 * 24 * 60 * 60 * 1000, 36).Length;
> Which ends up throwing an exception and prevents instances of the class from being called.
> This currently prevents some of the test cases from executing correctly.

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