Commit Graph

7 Commits

Author SHA1 Message Date
Alexey Kudravtsev 2b081e39ab make some clients independent of order of results in Query.findAll()
GitOrigin-RevId: df14c535f9ff642399ed42e123563dac3db8bb20
2019-10-11 15:33:13 +00:00
Tagir Valeev 2572c79c56 CollectMigration.NewListTerminal: support Guava collection constructors (IDEA-219934)
Also remove .distinct() automatically when unnecessary.

GitOrigin-RevId: 504dd9e645f9492a4142c0793c42188912afdde9
2019-08-07 12:04:38 +03:00
Tagir Valeev bd4a3477f5 StreamApiMigration: register comments from post-loop operations like sorting 2018-06-27 09:29:38 +07:00
Tagir Valeev b2d5f75a92 StreamApiMigration: support Java10 toUnmodifiableList/Set (part of IDEA-187213) 2018-03-13 11:21:22 +07:00
Tagir Valeev f06e8ca2f0 IDEA-185812 Allow to force explicit toCollection(ArrayList::new) instead of toList() in "Subsequent steps can be fused into Stream API" 2018-02-01 17:16:04 +07:00
Tagir Valeev 1779a8a871 FuseStreamOperationsInspection: fixes according to review IDEA-CR-24873
1. Code sample in description
2. Supported toCollection with parameterized method-reference
2017-09-27 10:50:03 +07:00
Tagir Valeev 2a29c82c70 FuseStreamOperationsInspection
Fixes IDEA-179303 Suggest replacing Collectors.toList()/toSet() + collection constructor with Collectors.toCollection
2017-09-26 11:01:37 +07:00