CPD Results
The following document contains the results of PMD's CPD 7.14.0.
Duplications
File | Line |
---|---|
org/forgerock/json/schema/validator/validators/IntegerTypeValidator.java | 97 |
org/forgerock/json/schema/validator/validators/NumberTypeValidator.java | 96 |
maximum = Math.max(minimum, ((Number) e.getValue()).intValue()); } } else if (EXCLUSIVEMINIMUM.equals(e.getKey())) { if (e.getValue() instanceof Boolean) { exclusiveMinimum = ((Boolean) e.getValue()); } else if (e.getValue() instanceof String) { exclusiveMinimum = Boolean.parseBoolean((String) e.getValue()); } } else if (EXCLUSIVEMAXIMUM.equals(e.getKey())) { if (e.getValue() instanceof Boolean) { exclusiveMaximum = ((Boolean) e.getValue()); } else if (e.getValue() instanceof String) { exclusiveMaximum = Boolean.parseBoolean((String) e.getValue()); } } else if (DIVISIBLEBY.equals(e.getKey())) { if (e.getValue() instanceof Number) { |