Skip to content

Commit

Permalink
Revert "Revert "adding getter to StringSchema#formatValidator propert…
Browse files Browse the repository at this point in the history
…y - fixes #53""

This reverts commit b223b06.
  • Loading branch information
erosb committed Jan 26, 2017
1 parent 0868ac8 commit d3252a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/java/org/everit/json/schema/StringSchema.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ private String patternIfNotNull(Pattern pattern) {
}
}

public FormatValidator getFormatValidator() {
return formatValidator;
}

@Override
public int hashCode() {
return Objects.hash(super.hashCode(), minLength, maxLength, pattern, requiresString, formatValidator);
Expand Down

0 comments on commit d3252a7

Please sign in to comment.