Skip to content

Commit

Permalink
Better lambdas.
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 3, 2020
1 parent 8f38105 commit d49bdd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ String[] listChildren(final FileName name) {
String[] names;

synchronized (children) {
names = children.stream().map((childData) -> childData.getName().getBaseName()).toArray(String[]::new);
names = children.stream().map(childData -> childData.getName().getBaseName()).toArray(String[]::new);
}

return names;
Expand Down

0 comments on commit d49bdd5

Please sign in to comment.