-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Fix Eclipse compilation problems #26170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
LGTM but I think you should add a comment explaining why you've pulled the lists out. If you can reference the eclipse bug that'd be even butter. I don't know which bug it is. It is fixed in Oxygen though. |
8e325fe to
dc2d406
Compare
|
@nik9000 thanks, I added a comment |
|
Are we going to move away from supporting Eclipse Neon so we stop having to make these changes? |
|
Yes, I also changed to Oxygen now. Hope it works better in cases like these. |
|
I opened #26194. |
* master: (30 commits) Rewrite range queries with open bounds to exists query (elastic#26160) Fix eclipse compilation problem (elastic#26170) Epoch millis and second formats parse float implicitly (Closes elastic#14641) (elastic#26119) fix SplitProcessor targetField test (elastic#26178) Fixed typo in README.textile (elastic#26168) Fix incorrect class name in deleteByQuery docs (elastic#26151) Move more token filters to analysis-common module reindex: automatically choose the number of slices (elastic#26030) Fix serialization of the `_all` field. (elastic#26143) percolator: Hint what clauses are important in a conjunction query based on fields Remove unused Netty-related settings (elastic#26161) Remove SimpleQueryStringIT#testPhraseQueryOnFieldWithNoPositions. Tests: reenable ShardReduceIT#testIpRange. Allow `ClusterState.Custom` to be created on initial cluster states (elastic#26144) Teach the build about betas and rcs (elastic#26066) Fix wrong header level inner hits: Unfiltered nested source should keep its full path Document how to import Lucene Snapshot libs when elasticsearch clients (elastic#26113) Use `global_ordinals_hash` execution mode when sorting by sub aggregations. (elastic#26014) Make the README use a single type in examples. (elastic#26098) ...
Eclipse is not so good at doing type inference inside lambdas it seems. The class compiles well using the java compile but Eclipse compiler complains. This change just pulls out the argument into a local variable to avoid the problem.