[
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: [email protected]
For additional commands, e-mail: [email protected]