Skip to content

Commit

Permalink
fix!: mark ValidationResult constructors as private (#2958)
Browse files Browse the repository at this point in the history
  • Loading branch information
taefi authored and vaadin-bot committed Dec 11, 2024
1 parent 143e4d9 commit d5935d5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ public enum Status {
private final Status status;
private final String errorMessage;

public ValidationResult(Status status, String errorMessage) {
private ValidationResult(Status status, String errorMessage) {
this.status = status;
this.errorMessage = errorMessage;
}

public ValidationResult(Status status) {
private ValidationResult(Status status) {
this.status = status;
this.errorMessage = null;
}
Expand Down

0 comments on commit d5935d5

Please sign in to comment.