ConvertToForEachLoopIntention - renamed

This commit is contained in:
Valentin Kipyatkov
2015-04-16 13:59:27 +03:00
parent a155b0c860
commit a8d629f609
25 changed files with 73 additions and 73 deletions
@@ -0,0 +1,5 @@
fun foo() {
for (a in x) {
a.bar()
}
}
@@ -0,0 +1,3 @@
fun foo() {
<spot>x.forEach { a -> a.bar() }</spot>
}
@@ -0,0 +1,5 @@
<html>
<body>
This intention converts a call to the "forEach" function into a for loop.
</body>
</html>