@@ -65,7 +65,7 @@ public SchemaLoaderBuilder addFormatValidator(FormatValidator formatValidator) {
65
65
* and use {@link #addFormatValidator(FormatValidator)}
66
66
*/
67
67
@ Deprecated
68
- public SchemaLoaderBuilder addFormatValidator (final String formatName ,
68
+ public SchemaLoaderBuilder addFormatValidator (String formatName ,
69
69
final FormatValidator formatValidator ) {
70
70
if (!Objects .equals (formatName , formatValidator .formatName ())) {
71
71
formatValidators .put (formatName , new WrappingFormatValidator (formatName , formatValidator ));
@@ -83,7 +83,7 @@ public JSONObject getRootSchemaJson() {
83
83
return rootSchemaJson == null ? schemaJson : rootSchemaJson ;
84
84
}
85
85
86
- public SchemaLoaderBuilder httpClient (final SchemaClient httpClient ) {
86
+ public SchemaLoaderBuilder httpClient (SchemaClient httpClient ) {
87
87
this .httpClient = httpClient ;
88
88
return this ;
89
89
}
@@ -95,35 +95,35 @@ public SchemaLoaderBuilder httpClient(final SchemaClient httpClient) {
95
95
* @param id the initial (absolute) URI, used as the resolution scope.
96
96
* @return {@code this}
97
97
*/
98
- public SchemaLoaderBuilder resolutionScope (final String id ) {
98
+ public SchemaLoaderBuilder resolutionScope (String id ) {
99
99
try {
100
100
return resolutionScope (new URI (id ));
101
101
} catch (URISyntaxException e ) {
102
102
throw new RuntimeException (e );
103
103
}
104
104
}
105
105
106
- public SchemaLoaderBuilder resolutionScope (final URI id ) {
106
+ public SchemaLoaderBuilder resolutionScope (URI id ) {
107
107
this .id = id ;
108
108
return this ;
109
109
}
110
110
111
- SchemaLoaderBuilder pointerSchemas (final Map <String , ReferenceSchema .Builder > pointerSchemas ) {
111
+ SchemaLoaderBuilder pointerSchemas (Map <String , ReferenceSchema .Builder > pointerSchemas ) {
112
112
this .pointerSchemas = pointerSchemas ;
113
113
return this ;
114
114
}
115
115
116
- SchemaLoaderBuilder rootSchemaJson (final JSONObject rootSchemaJson ) {
116
+ SchemaLoaderBuilder rootSchemaJson (JSONObject rootSchemaJson ) {
117
117
this .rootSchemaJson = rootSchemaJson ;
118
118
return this ;
119
119
}
120
120
121
- public SchemaLoaderBuilder schemaJson (final JSONObject schemaJson ) {
121
+ public SchemaLoaderBuilder schemaJson (JSONObject schemaJson ) {
122
122
this .schemaJson = schemaJson ;
123
123
return this ;
124
124
}
125
125
126
- SchemaLoaderBuilder formatValidators (final Map <String , FormatValidator > formatValidators ) {
126
+ SchemaLoaderBuilder formatValidators (Map <String , FormatValidator > formatValidators ) {
127
127
this .formatValidators = formatValidators ;
128
128
return this ;
129
129
}
0 commit comments