Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer
Tagir Valeev cee88f887b FindFirstMigration: use ifPresent when stream element type is primitive and the final statement is an assignment
This case is possible only if we have no non-final locals updated in the loop, so the assignment updates field or array element.
Using common assignment scenario may not work as primitive optionals lack map/filter operations
Fixes IDEA-200209 "Replace with findFirst" produces incompilable code
2018-10-10 15:55:53 +07:00
..
2018-06-20 09:56:55 +03:00
2018-06-19 15:09:54 +03:00