LOG.info("Scanning current file(s).");
if (files == null) {
LOG.debug("No files provided.");
return results;
}
final ScanFilesThread scanFilesThread = new ScanFilesThread(this, moduleClassPathBuilder(), files, results);
synchronized (checksInProgress) {
checksInProgress.add(scanFilesThread);
}
scanFilesThread.start();
try {
scanFilesThread.join();
} catch (final Throwable e) {
LOG.error("Error scanning files");
} finally {