Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
SentryMan committed Sep 22, 2024
1 parent 0ea1a02 commit 214868f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public <T> ValidationAdapter<T> adapter(Type type) {
@Override
@SuppressWarnings("unchecked")
public <T> ValidationAdapter<T> noop() {
return CoreAdapterBuilder.NOOP;
return NoOpValidator.INSTANCE;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import io.avaje.validation.adapter.ValidationAdapter;
import io.avaje.validation.adapter.ValidationRequest;

class NoOpValidator implements ValidationAdapter, ValidationAdapter.Primitive {
public class NoOpValidator implements ValidationAdapter, ValidationAdapter.Primitive {

public static final NoOpValidator INSTANCE = new NoOpValidator();

Expand Down

0 comments on commit 214868f

Please sign in to comment.