Commit Graph

7 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
349d58606e OptionalToIfInspection: propagate rename to nested flatMap
GitOrigin-RevId: ae65a4a91dbefc73bd160a2b92a36e296fed3c3e
2020-05-01 09:40:21 +00:00
Artemiy Sartakov
fcd1363aee OptionalToIfInspection: propagate rename to nested operations for flatMap and or
GitOrigin-RevId: 338d1c5e49a05fdd0ab60321275acc7ac51bcb4d
2020-04-30 05:32:53 +00:00
Artemiy Sartakov
b08c47448e OptionalToIfInspection: track flat map param name so it won't be used in another operation
GitOrigin-RevId: 42f90e621d37435cc122ee36c6b0a3267356c5e3
2020-04-29 08:35:45 +00:00
Artemiy Sartakov
f0c78aea15 OptionalToIfInspection: misc fixes
1. generate if with curly braces when it contains single declaration inside
2. restore else branch after generating code for flatMap
3. do not reassign source variable for nested source operations

GitOrigin-RevId: 061fbcc8d8dda586dcecb9a448752709a43370da
2020-04-21 08:55:39 +00:00
Artemiy Sartakov
d98814d304 OptionalToIfInspection: added missing imports (IDEA-212269)
GitOrigin-RevId: afbeaa1f10b2266cd1401da83b71cf0bf6862824
2019-08-07 17:02:43 +03:00
Artemiy Sartakov
6f1efb8fc0 OptionalToIfInspection: added inspection to desugar optional chain to sequence of if statements (IDEA-212269)
GitOrigin-RevId: c83b70e05544529b3dfffe24bc87997910edcb56
2019-08-07 17:02:43 +03:00