diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/operation/ValidationResult.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/operation/ValidationResult.java index 1db905bce..a16e29223 100644 --- a/packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/operation/ValidationResult.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/operation/ValidationResult.java @@ -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; }