Skip to content

Commit 7e2efea

Browse files
the access method for the class has been changed to an abstract
1 parent bae0171 commit 7e2efea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/hexlet/code/schemas/BaseSchema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.Map;
66
import java.util.function.Predicate;
77

8-
public class BaseSchema<T> {
8+
public abstract class BaseSchema<T> {
99
private Map<String, Predicate<T>> validations = new HashMap<>();
1010

1111
protected void addValidation(String key, Predicate<T> validation) {

0 commit comments

Comments
 (0)