Skip to content

Commit

Permalink
[java] Modifier 'private' for enum constructor is redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Apr 9, 2020
1 parent 0a9cae7 commit da75dd1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -33,7 +33,7 @@ public enum Protocol {

public final String id;

private Protocol(String id) {
Protocol(String id) {
this.id = id;
}
}
Expand All @@ -46,7 +46,7 @@ public enum Transport {

public final String id;

private Transport(String id) {
Transport(String id) {
this.id = id;
}
}
Expand Down

0 comments on commit da75dd1

Please sign in to comment.