lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Elschot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7602) Fix compiler warnings for ant clean compile
Date Mon, 26 Dec 2016 22:02:58 GMT

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

Paul Elschot commented on LUCENE-7602:
--------------------------------------

bq. can't we just use Map<Object,Object> ?

ContextMap implements that interface.
Since this is widely used, I prefer not use a lucene class class (ContextMap) over an interface
that is defined in the java language (Map<Object,Object>), because it allows a change
in a single place.

We could still separate the implementation from the interface, but that would be more than
fixing the compiler warnings here.



> Fix compiler warnings for ant clean compile
> -------------------------------------------
>
>                 Key: LUCENE-7602
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7602
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Paul Elschot
>            Priority: Minor
>              Labels: build
>             Fix For: trunk
>
>         Attachments: LUCENE-7602-ContextMap-lucene.patch, LUCENE-7602-ContextMap-solr.patch,
LUCENE-7602.patch, LUCENE-7602.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message