pmd: fixed #1055 Please add a colon in the ant output after line,column for Oracle JDeveloper IDE usage
This commit is contained in:
parent
ac8e3314a3
commit
7ee96a6b52
@ -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 1060: GodClassRule >>> wrong method
|
||||
|
||||
November 28, 2012 - 5.0.1:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user