Skip to content

Commit

Permalink
Added Checkstyle to PlayerStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
elisab3 committed May 24, 2026
1 parent f435314 commit b08e846
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/Model/PlayerStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Enum representing the player's status level based on trading activity and performance.
*
* Status levels:
* - NOVICE: Starting level, no requirements
* - INVESTOR: Traded for at least 10 weeks AND increased net worth by at least 20%
Expand All @@ -13,13 +13,13 @@ public enum PlayerStatus {
INVESTOR("Investor"),
SPECULATOR("Speculator");

private final String displayName;
private final String displayName;

PlayerStatus(String displayName) {
this.displayName = displayName;
}
PlayerStatus(String displayName) {
this.displayName = displayName;
}

public String getDisplayName() {
return displayName;
}
public String getDisplayName() {
return displayName;
}
}

0 comments on commit b08e846

Please sign in to comment.