+ public boolean match(String fileName, boolean fileIsDirectory) {
+ if (matchDirectoriesOnly && !fileIsDirectory) {
+ return false;
+ }
+ fileNameMatcher.resetStringToMatch();
Partially discusses before, but here is another aspect. One advantage
with bracketless code is that you get an extra blank line for free.
if (matchDirectoriesOnly && !fileIsDirectory)
return false;
fileNameMatcher.resetStringToMatch();
-- robin