Skip to content

Commit

Permalink
Make enum field final and constructor implicitly private
Browse files Browse the repository at this point in the history
  • Loading branch information
0rzech committed May 31, 2024
1 parent 4841482 commit 8a4ced7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public enum SignatureAlgorithm {
PS384("PS384"),
PS512("PS512");

private String algorithmName;
private final String algorithmName;

private SignatureAlgorithm(String algorithmName) {
SignatureAlgorithm(String algorithmName) {
this.algorithmName = algorithmName;
}

Expand Down

0 comments on commit 8a4ced7

Please sign in to comment.