Skip to content

Commit 5623f7d

Browse files
committed
making stylechecker happy
1 parent bc4ce0c commit 5623f7d

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

core/src/main/java/org/everit/json/schema/ObjectSchema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private void testAdditionalProperties(final JSONObject subject) {
256256

257257
private Stream<String> getAdditionalProperties(final JSONObject subject) {
258258
String[] names = JSONObject.getNames(subject);
259-
if(names == null) {
259+
if (names == null) {
260260
return Stream.empty();
261261
} else {
262262
return Arrays

tests/src/test/java/org/everit/json/schema/EmptyObjectTest.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright (C) 2011 Everit Kft. (http://www.everit.org)
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package org.everit.json.schema;
217

318
import org.everit.json.schema.loader.SchemaLoader;

0 commit comments

Comments
 (0)