Commit Graph

2 Commits

Author SHA1 Message Date
Andrey.Cherkasov
0d10ba565e [java] Fix test data files after inspection description updating
GitOrigin-RevId: faa9f564b7a37e4c1165c24f904994b951adfccd
2021-03-18 10:49:54 +00:00
Artemiy Sartakov
db85d0d62b OptionalToIfInspection: cr fixes (IDEA-CR-51167)
1. add new line before and after code block braces when wrapping user code
2. add example in inspection description
3. remove OptionalToIfInspectionTest#runSingle
4. remove duplicates from operation names list
5. remove unnecessary whitespaces from strings with converted operations
6. support final variables and local variables with implicit type
7. honor operation precedence when merging two if checks during simplification
8. StringUtil#join instead of Collectors#joining
9. remove code after throw during simplification

GitOrigin-RevId: cd3273072ad3bdba21aa5b28a6fd13dc325e93ad
2020-04-21 08:19:27 +00:00