Ref: add more PMD rule: bestpractices.xml/OneDeclarationPerLine

This commit is contained in:
Laurent Clouet
2024-06-06 03:04:34 +02:00
parent fd33b6d666
commit 236a72ec53
4 changed files with 7 additions and 5 deletions

View File

@@ -122,7 +122,8 @@ import lombok.Data;
* @return string formatted with SheepIt Admin Log Viewer in mind
*/
public String toString() {
String c = " CFG: ", n ="\n";
String c = " CFG: ";
String n ="\n";
return
c + "version: " + getJarVersion() + n +
c + "configFilePath: " + configFilePath + n +