Skip to content

Commit 1115a2c

Browse files
committed
removing some unnecessary finals
1 parent bdda651 commit 1115a2c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

core/src/main/java/org/everit/json/schema/loader/SchemaLoader.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public SchemaLoaderBuilder addFormatValidator(FormatValidator formatValidator) {
6565
* and use {@link #addFormatValidator(FormatValidator)}
6666
*/
6767
@Deprecated
68-
public SchemaLoaderBuilder addFormatValidator(final String formatName,
68+
public SchemaLoaderBuilder addFormatValidator(String formatName,
6969
final FormatValidator formatValidator) {
7070
if (!Objects.equals(formatName, formatValidator.formatName())) {
7171
formatValidators.put(formatName, new WrappingFormatValidator(formatName, formatValidator));
@@ -83,7 +83,7 @@ public JSONObject getRootSchemaJson() {
8383
return rootSchemaJson == null ? schemaJson : rootSchemaJson;
8484
}
8585

86-
public SchemaLoaderBuilder httpClient(final SchemaClient httpClient) {
86+
public SchemaLoaderBuilder httpClient(SchemaClient httpClient) {
8787
this.httpClient = httpClient;
8888
return this;
8989
}
@@ -95,35 +95,35 @@ public SchemaLoaderBuilder httpClient(final SchemaClient httpClient) {
9595
* @param id the initial (absolute) URI, used as the resolution scope.
9696
* @return {@code this}
9797
*/
98-
public SchemaLoaderBuilder resolutionScope(final String id) {
98+
public SchemaLoaderBuilder resolutionScope(String id) {
9999
try {
100100
return resolutionScope(new URI(id));
101101
} catch (URISyntaxException e) {
102102
throw new RuntimeException(e);
103103
}
104104
}
105105

106-
public SchemaLoaderBuilder resolutionScope(final URI id) {
106+
public SchemaLoaderBuilder resolutionScope(URI id) {
107107
this.id = id;
108108
return this;
109109
}
110110

111-
SchemaLoaderBuilder pointerSchemas(final Map<String, ReferenceSchema.Builder> pointerSchemas) {
111+
SchemaLoaderBuilder pointerSchemas(Map<String, ReferenceSchema.Builder> pointerSchemas) {
112112
this.pointerSchemas = pointerSchemas;
113113
return this;
114114
}
115115

116-
SchemaLoaderBuilder rootSchemaJson(final JSONObject rootSchemaJson) {
116+
SchemaLoaderBuilder rootSchemaJson(JSONObject rootSchemaJson) {
117117
this.rootSchemaJson = rootSchemaJson;
118118
return this;
119119
}
120120

121-
public SchemaLoaderBuilder schemaJson(final JSONObject schemaJson) {
121+
public SchemaLoaderBuilder schemaJson(JSONObject schemaJson) {
122122
this.schemaJson = schemaJson;
123123
return this;
124124
}
125125

126-
SchemaLoaderBuilder formatValidators(final Map<String, FormatValidator> formatValidators) {
126+
SchemaLoaderBuilder formatValidators(Map<String, FormatValidator> formatValidators) {
127127
this.formatValidators = formatValidators;
128128
return this;
129129
}

0 commit comments

Comments
 (0)