Fixed output message format when includelineNumber is false
This commit is contained in:
parent
b6df5df894
commit
884fe381dd
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ public class PmdOperation extends AbstractOperation<PmdOperation> {
|
||||||
if (includeLineNumber_) {
|
if (includeLineNumber_) {
|
||||||
msg = "[{0}] {1}:{2}\n\t{3} ({4})\n\t\t--> {5}";
|
msg = "[{0}] {1}:{2}\n\t{3} ({4})\n\t\t--> {5}";
|
||||||
} else {
|
} else {
|
||||||
msg = "\"[{0}] {1} (line: {2})\\n\\t{3} ({4})\\n\\t\\t--> {5}\"";
|
msg = "[{0}] {1} (line: {2})\n\t{3} ({4})\n\t\t--> {5}";
|
||||||
}
|
}
|
||||||
LOGGER.log(Level.WARNING, msg,
|
LOGGER.log(Level.WARNING, msg,
|
||||||
new Object[]{commandName,
|
new Object[]{commandName,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue