You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Chris Male (JIRA)" <ji...@apache.org> on 2010/04/05 17:21:27 UTC

[jira] Commented: (LUCENE-1895) Point2D defines equals by comparing double types with ==

    [ https://issues.apache.org/jira/browse/LUCENE-1895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853400#action_12853400 ] 

Chris Male commented on LUCENE-1895:
------------------------------------

Mark,

Its been over 6 months I know, but do you remember why you suggested this? Was there a particular case you had in mind? 

I'd like to see Point2D (or Point as I'd like it renamed) to be an all purpose class for the spatial work, so it seems comparing the values exactly would be a good idea.

> Point2D defines equals by comparing double types with ==
> --------------------------------------------------------
>
>                 Key: LUCENE-1895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>            Reporter: Mark Miller
>            Assignee: Chris Male
>            Priority: Trivial
>
> Ideally, this should allow for a margin of error right?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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