snehalmistry/spring-migration-analyzer — comment on commit 97e6c4797a9187a32233a477c527452f27b39408
File: command-line/src/main/java/org/springframework/migrationanalyzer/commandline/CommandLineMigrationAnalysisExecutor.java line 172
By wilkinsona:

A FileFilter would be a better bet here. It would avoid the need to create a new File to determine whether or not it's a directory.