Fixes for exclude-pattern

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6169 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch 2008-05-30 22:00:19 +00:00
parent 123fc5f64f
commit 185958c419
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
???? - 4.2.3:
Fixes for exclude-pattern
May 20, 2008 - 4.2.2:

View File

@ -455,6 +455,7 @@ public class PMD {
ctx.setReport(report);
ctx.setSourceCodeFilename(fileName);
ctx.setSourceCodeFile(new File(fileName));
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Processing " + ctx.getSourceCodeFilename());
}
@ -702,6 +703,7 @@ public class PMD {
ctx.setReport(report);
ctx.setSourceCodeFilename(niceFileName);
ctx.setSourceCodeFile(new File(niceFileName));
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Processing " + ctx.getSourceCodeFilename());
}
@ -771,6 +773,7 @@ public class PMD {
String niceFileName = dataSource.getNiceFileName(shortNamesEnabled,
inputPath);
ctx.setSourceCodeFilename(niceFileName);
ctx.setSourceCodeFile(new File(niceFileName));
LOG.fine("Processing " + ctx.getSourceCodeFilename());
try {