Introduce "flatMap { it } -> flatten" inspection #KT-25969 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cdcc588a55
commit
2c71b3873e
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>flatMap</b> call should be simplified to <b>flatten()<b>, e.g. <b>flatMap { it }</b> to <b>flatten()</b>.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user