pmd: fixed #1055 Please add a colon in the ant output after line,column for Oracle JDeveloper IDE usage

This commit is contained in:
Andreas Dangel committed 2013-01-21 21:18:18 +01:00
1 parent 83cbf65bdb
commit 77a6802621
3 files changed
+4 -3

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ Fixed bug 1043: node.getEndLine() always returns 0 (ECMAscript)
Fixed bug 1044: Unknown option: -excludemarker
Fixed bug 1047: False Positive in 'for' loops for LocalVariableCouldBeFinal in 5.0.1
Fixed bug 1048: CommentContent Rule, String Index out of range Exception
Fixed bug 1055: Please add a colon in the ant output after line,column for Oracle JDeveloper IDE usage
Fixed bug 1059: Change rule name "Use Singleton" should be "Use Utility class"
Fixed bug 1060: GodClassRule >>> wrong method
@@ -45,7 +45,7 @@ public class TextRenderer extends AbstractIncrementingRenderer {
RuleViolation rv = violations.next();
buf.append(rv.getFilename());
buf.append(':').append(Integer.toString(rv.getBeginLine()));
buf.append('\t').append(rv.getDescription()).append(PMD.EOL);
buf.append(":\t").append(rv.getDescription()).append(PMD.EOL);
writer.write(buf.toString());
}
}
@@ -12,7 +12,7 @@ public class TextRendererTest extends AbstractRendererTst {
@Override
public String getExpected() {
return "n/a:1\tmsg" + PMD.EOL;
return "n/a:1:\tmsg" + PMD.EOL;
}
@Override
@@ -22,7 +22,7 @@ public class TextRendererTest extends AbstractRendererTst {
@Override
public String getExpectedMultiple() {
return "n/a:1\tmsg" + PMD.EOL + "n/a:1\tmsg" + PMD.EOL;
return "n/a:1:\tmsg" + PMD.EOL + "n/a:1:\tmsg" + PMD.EOL;
}
@Override