lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6885) StandardDirectoryReader (initialCapacity) tweaks
Date Fri, 06 Nov 2015 11:48:27 GMT

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

Adrien Grand commented on LUCENE-6885:
--------------------------------------

FYI I got this error a few times, and this is due to the fact that the Java 8 compiler is
a bit smarter at guessing generic types. I think you can fix it by making the generic type
explicit in the Collections.emptyMap() call: Collections.<String,Integer>emptyMap()

> StandardDirectoryReader (initialCapacity) tweaks
> ------------------------------------------------
>
>                 Key: LUCENE-6885
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6885
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: LUCENE-6885.patch, LUCENE-6885.patch
>
>
> proposed patch against trunk to follow



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