fix tests for foreach formatting

This commit is contained in:
Roman.Ivanov
2018-06-05 11:31:17 +07:00
parent 8e9ab59fc8
commit 5858ba478c
85 changed files with 280 additions and 280 deletions
@@ -6,9 +6,9 @@ import static java.util.Arrays.asList;
public class Main {
public static boolean test(List<List<String>> list) {
for (List<String> x : list) {
for (List<String> x: list) {
if (x != null) {
for (String s : x) {
for (String s: x) {
if (s.startsWith("a")) {
return true;
}
@@ -19,7 +19,7 @@ public class Main {
}
String testTernary(String[] strings) {
for (String s : strings) {
for (String s: strings) {
if (s != null) {
if (!s.startsWith("xyz")) {
return "s";