You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/16 16:07:39 UTC

[jira] [Resolved] (LUCENE-3694) DocValuesField should not overload setInt/setFloat etc

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

Michael McCandless resolved LUCENE-3694.
----------------------------------------

    Resolution: Fixed

Fixed with LUCENE-3453.
                
> DocValuesField should not overload setInt/setFloat etc
> ------------------------------------------------------
>
>                 Key: LUCENE-3694
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3694
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>
> See my description on LUCENE-3687. In general we should avoid this for primitive types and give them each unique names.
> So I think instead of setInt(byte), setInt(short), setInt(int), setInt(long), setFloat(float) and setFloat(double),
> we should have setByte(byte), setShort(short), setInt(int), setLong(long), setFloat(float) and setDouble(double).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org