Skip to content

Commit ebcb95f

Browse files
committed
fixed the indentation
1 parent 58d8e1b commit ebcb95f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/pages/learn/01_tutorial/03_getting-to-know-the-language/03_refactoring_to_functional_style/05_converting_to_streams.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public class Sample {
4545

4646
while((line = reader.readLine()) != null) {
4747
if(line.contains(wordOfInterest)) {
48-
count++;
49-
}
48+
count++;
49+
}
5050
}
5151

5252
System.out.println(String.format("Found %d lines with the word %s", count, wordOfInterest));

0 commit comments

Comments
 (0)