Skip to content

Commit 792c796

Browse files
committed
chore: revert making constructors private
1 parent 90e4021 commit 792c796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/operation/ValidationResult.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ public enum Status {
2525
private final Status status;
2626
private final String errorMessage;
2727

28-
private ValidationResult(Status status, String errorMessage) {
28+
public ValidationResult(Status status, String errorMessage) {
2929
this.status = status;
3030
this.errorMessage = errorMessage;
3131
}
3232

33-
private ValidationResult(Status status) {
33+
public ValidationResult(Status status) {
3434
this.status = status;
3535
this.errorMessage = null;
3636
}

0 commit comments

Comments
 (0)