Skip to content

Commit 9a1ebe7

Browse files
committed
Disable checkstyle for StoredProfile constructor
1 parent ec59aa8 commit 9a1ebe7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/java/com/github/games647/fastlogin/core/StoredProfile.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public class StoredProfile extends Profile {
4545

4646
private int dbVersion;
4747

48+
//CHECKSTYLE.OFF: ParameterNumber - There should be a way to load all columns from the database
4849
public StoredProfile(long rowId, UUID uuid, String playerName, boolean premium, boolean floodgate, String lastIp,
4950
Instant lastLogin, int dbVersion) {
5051
super(uuid, playerName);
@@ -56,6 +57,7 @@ public StoredProfile(long rowId, UUID uuid, String playerName, boolean premium,
5657
this.lastLogin = lastLogin;
5758
this.dbVersion = dbVersion;
5859
}
60+
//CHECKSTYLE.OFF: ParameterNumber
5961

6062
public StoredProfile(UUID uuid, String playerName, boolean premium, boolean isFloodgate, String lastIp) {
6163
this(-1, uuid, playerName, premium, isFloodgate, lastIp, Instant.now(), 2);

0 commit comments

Comments
 (0)