forked from phoedos/pmd
Add whitespace...
This commit is contained in:
@ -406,18 +406,18 @@ public class PMD {
|
||||
|
||||
}
|
||||
|
||||
if (null != configuration.getIgnoreFilePath()){
|
||||
if (null != configuration.getIgnoreFilePath()) {
|
||||
String ignoreFilePath = configuration.getIgnoreFilePath();
|
||||
File file = new File(ignoreFilePath);
|
||||
try{
|
||||
if (!file.exists()){
|
||||
try {
|
||||
if (!file.exists()) {
|
||||
LOG.log(Level.SEVERE, "Problem with Ignore File Path", ignoreFilePath);
|
||||
throw new RuntimeException("Problem with Ignore File Path: " + ignoreFilePath);
|
||||
} else {
|
||||
String filePaths = FileUtil.readFilelist(new File(ignoreFilePath));
|
||||
files.removeAll(FileUtil.collectFiles(filePaths, fileSelector));
|
||||
}
|
||||
} catch (IOException ex){
|
||||
} catch (IOException ex) {
|
||||
LOG.log(Level.SEVERE, "Problem with Ignore File", ex);
|
||||
throw new RuntimeException("Problem with Ignore File Path: " + ignoreFilePath, ex);
|
||||
}
|
||||
|
Reference in New Issue
Block a user