We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae0171 commit 7e2efeaCopy full SHA for 7e2efea
app/src/main/java/hexlet/code/schemas/BaseSchema.java
@@ -5,7 +5,7 @@
5
import java.util.Map;
6
import java.util.function.Predicate;
7
8
-public class BaseSchema<T> {
+public abstract class BaseSchema<T> {
9
private Map<String, Predicate<T>> validations = new HashMap<>();
10
11
protected void addValidation(String key, Predicate<T> validation) {
0 commit comments