File tree Expand file tree Collapse file tree 9 files changed +6
-12
lines changed
src/main/java/org/everit/json/schema Expand file tree Collapse file tree 9 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 21
21
<modelVersion >4.0.0</modelVersion >
22
22
<groupId >org.everit.json</groupId >
23
23
<artifactId >org.everit.json.schema</artifactId >
24
- <version >1.10.0-SNAPSHOT </version >
24
+ <version >1.10.0</version >
25
25
<packaging >bundle</packaging >
26
26
<properties >
27
27
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ public interface FormatValidator {
26
26
/**
27
27
* Static factory method for {@code FormatValidator} implementations supporting the
28
28
* {@code formatName}s mandated by the json schema spec.
29
- * <p>
30
29
* <ul>
31
30
* <li>date-time</li>
32
31
* <li>email</li>
@@ -78,7 +77,7 @@ static FormatValidator forFormat(final String formatName) {
78
77
* <p>
79
78
* Unless specified otherwise the {@link org.everit.json.schema.loader.SchemaLoader} will use this
80
79
* name to recognize string schemas using this format.
81
- * <p>
80
+ * </ p>
82
81
* The default implementation of this method returns {@code "unnamed-format"}. It is strongly
83
82
* recommended for implementations to give a more meaningful name by overriding this method.
84
83
*
Original file line number Diff line number Diff line change 7
7
8
8
/**
9
9
* Number schema validator.
10
- *
11
- * @ThreadSafe
12
10
*/
13
11
public class NumberSchema extends Schema {
14
12
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public void validate(Object subject) {
132
132
* be queried.
133
133
* <p>
134
134
* For example the field {@code "#/rectangle/a"} is defined by the following schema:
135
- * <p>
135
+ * </ p>
136
136
* <pre>
137
137
* <code>
138
138
* objectWithSchemaRectangleDep" : {
@@ -161,7 +161,6 @@ public void validate(Object subject) {
161
161
* }
162
162
* </code>
163
163
* </pre>
164
- * <p>
165
164
* The default implementation of this method always returns false.
166
165
*
167
166
* @param field
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ private static List<String> getAllMessages(List<ValidationException> causes) {
38
38
* Sort of static factory method. It is used by {@link ObjectSchema} and {@link ArraySchema} to
39
39
* create {@code ValidationException}s, handling the case of multiple violations occuring during
40
40
* validation.
41
- * <p>
42
41
* <ul>
43
42
* <li>If {@code failures} is empty, then it doesn't do anything</li>
44
43
* <li>If {@code failures} contains 1 exception instance, then that will be thrown</li>
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ public SchemaLoaderBuilder() {
78
78
* Registers a format validator with the name returned by {@link FormatValidator#formatName()}.
79
79
*
80
80
* @param formatValidator
81
+ * the format validator to be registered with its name
81
82
* @return {@code this}
82
83
*/
83
84
public SchemaLoaderBuilder addFormatValidator (FormatValidator formatValidator ) {
Original file line number Diff line number Diff line change 22
22
* {@code if..instanceof..casting} constructs. Together with the {@link OnTypeConsumer}
23
23
* implementations it forms a fluent API to deal with the parts of the JSON schema where multiple
24
24
* kind of values are valid for a given key.
25
- * </p>
26
- * <p>
27
25
* <p>
28
26
* Example usage: <code>
29
27
* Object additProps = schemaJson.get("additionalProperties");
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >org.everit.json</groupId >
8
8
<artifactId >org.everit.json.schema.parent</artifactId >
9
- <version >1.10.0-SNAPSHOT </version >
9
+ <version >1.10.0</version >
10
10
11
11
<packaging >pom</packaging >
12
12
Original file line number Diff line number Diff line change 24
24
<parent >
25
25
<groupId >org.everit.json</groupId >
26
26
<artifactId >org.everit.json.schema.parent</artifactId >
27
- <version >1.10.0-SNAPSHOT </version >
27
+ <version >1.10.0</version >
28
28
</parent >
29
29
30
30
<artifactId >org.everit.json.schema.tests</artifactId >
You can’t perform that action at this time.
0 commit comments