Skip to content

Commit

Permalink
Update FileExample.java
Browse files Browse the repository at this point in the history
Fix weird indentation
  • Loading branch information
jpolitz authored Oct 18, 2022
1 parent 019159b commit f5a80dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions FileExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ static List<File> getFiles(File start) throws IOException {
List<File> result = new ArrayList<>();
result.add(start);
if(f.isDirectory()) {
File[] paths = f.listFiles();
for(File subFile: paths) {
result.add(subFile);
}
File[] paths = f.listFiles();
for(File subFile: paths) {
result.add(subFile);
}
}
return result;
}
Expand Down

0 comments on commit f5a80dc

Please sign in to comment.