Skip to content

Commit 022e940

Browse files
committed
fix: ran gradle command as prompted
1 parent da1c684 commit 022e940

File tree

1 file changed

+6
-5
lines changed
  • lesson_11/arrays_java/arrays_app/src/main/java/com/codedifferently/lesson11

1 file changed

+6
-5
lines changed

lesson_11/arrays_java/arrays_app/src/main/java/com/codedifferently/lesson11/Lesson11.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ public int[] getConcatenation(int[] nums) {
2222
*/
2323
public List<Integer> findWordsContaining(String[] words, char x) {
2424
List<Integer> output = new ArrayList();
25-
for (int i = 0; i < words.length; i++) {
26-
if (words[i].contains(String.valueOf(x))) {
27-
output.add(i);
28-
}
29-
} return output;
25+
for (int i = 0; i < words.length; i++) {
26+
if (words[i].contains(String.valueOf(x))) {
27+
output.add(i);
28+
}
3029
}
30+
return output;
3131
}
32+
}

0 commit comments

Comments
 (0)