From d94011ce38e9eb9671f727a46e0e33a99e3c6268 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Fri, 1 Oct 2021 03:06:26 -0500 Subject: [PATCH] Styling changes for checkstyle --- config/xsl/checkstyle-custom.xsl | 248 +++++++++--------- .../totalfreedommod/player/PlayerData.java | 24 +- 2 files changed, 135 insertions(+), 137 deletions(-) diff --git a/config/xsl/checkstyle-custom.xsl b/config/xsl/checkstyle-custom.xsl index 1bda77b1..096a0b90 100644 --- a/config/xsl/checkstyle-custom.xsl +++ b/config/xsl/checkstyle-custom.xsl @@ -1,25 +1,27 @@ - + + + + + + + + + + + + + + + + + - - @@ -31,7 +33,7 @@ body { margin-left: 10; margin-right: 10; - font:normal 68% verdana,arial,helvetica; + font:normal 80% arial,helvetica,sanserif; background-color:#FFFFFF; color:#000000; } @@ -76,23 +78,23 @@ - + -
+ http://jakarta.apache.org +

CheckStyle Audit

Designed for use with + Designed for use with CheckStyle - and Ant. + and Ant.
@@ -102,31 +104,116 @@
- - + +
- - - -

-

- + +


+ +
+ + + +

Files

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameErrorsWarningsInfos
+ + + + + + + + + +
+
+ + + + +

File + +

+ + + + + + + + + + + + + + + + +
SeverityError DescriptionLine
+ + + + + +
+ Back to top +
+ +

Summary

- - - + + + + + @@ -139,100 +226,12 @@ +
Files Errors WarningsInfos
+ +
- -

Authors

- - - - - - - - - - - - - - - - - - - - - - - - - - -
NameErrorsWarnings
- - - - - - - -
-
- - - - - - - - -

File - -
- Author - -

- - - - - - - - - - - - - -
Error DescriptionLine
- - - -
-
Back to top -
-
- - - - - - - - substring-after($path, '\') - - - - - - - - @@ -240,5 +239,4 @@ b -
\ No newline at end of file diff --git a/src/main/java/me/totalfreedom/totalfreedommod/player/PlayerData.java b/src/main/java/me/totalfreedom/totalfreedommod/player/PlayerData.java index 942f9db4..b0748cdf 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/player/PlayerData.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/player/PlayerData.java @@ -95,18 +95,18 @@ public class PlayerData public String toString() { - return "Player: " + name + "\n" + - "- IPs: " + StringUtils.join(ips, ", ") + "\n" + - "- Discord ID: " + discordID + "\n" + - "- Master Builder: " + masterBuilder + "\n" + - "- Has Verification: " + verification + "\n" + - "- Coins: " + coins + "\n" + - "- Total Votes: " + totalVotes + "\n" + - "- Display Discord: " + displayDiscord + "\n" + - "- Tag: " + FUtil.colorize(tag) + ChatColor.GRAY + "\n" + - "- Ride Mode: " + rideMode + "\n" + - "- Backup Codes: " + backupCodes.size() + "/10" + "\n" + - "- Login Message: " + loginMessage; + return "Player: " + name + "\n" + + "- IPs: " + StringUtils.join(ips, ", ") + "\n" + + "- Discord ID: " + discordID + "\n" + + "- Master Builder: " + masterBuilder + "\n" + + "- Has Verification: " + verification + "\n" + + "- Coins: " + coins + "\n" + + "- Total Votes: " + totalVotes + "\n" + + "- Display Discord: " + displayDiscord + "\n" + + "- Tag: " + FUtil.colorize(tag) + ChatColor.GRAY + "\n" + + "- Ride Mode: " + rideMode + "\n" + + "- Backup Codes: " + backupCodes.size() + "/10" + "\n" + + "- Login Message: " + loginMessage; } public List getIps()