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 fdabb5c commit baab1d9Copy full SHA for baab1d9
src/main/java/com/networknt/schema/TypeValidator.java
@@ -22,14 +22,9 @@
22
23
import java.util.Collections;
24
import java.util.Set;
25
-import java.util.regex.Pattern;
26
27
public class TypeValidator extends BaseJsonValidator implements JsonValidator {
28
private static final Logger logger = LoggerFactory.getLogger(TypeValidator.class);
29
- private static final String NUMERIC_PATTERN = "-?\\d+(\\.\\d+)?";
30
- private static Pattern numericPattern = Pattern.compile(NUMERIC_PATTERN);
31
- private static final String INTEGER_PATTERN = "\\-?\\d+";
32
- private static Pattern integerPattern = Pattern.compile(INTEGER_PATTERN);
33
34
private JsonType schemaType;
35
private UnionTypeValidator unionTypeValidator;
0 commit comments