add missing StreamApiMigration test

This commit is contained in:
Tagir Valeev
2016-10-18 10:54:33 +07:00
parent f16aa52dd1
commit d807cd3b24
@@ -0,0 +1,15 @@
// "Replace with anyMatch()" "true"
import java.util.List;
public class Main {
boolean find(List<String> data, boolean other, boolean third) {
for(String e : da<caret>ta) {
String trimmed = e.trim();
if(trimmed.startsWith("xyz")) {
return true;
}
}
return other || third;
}
}