Skip to content

Commit

Permalink
making stylechecker happy
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejserafim committed Nov 23, 2015
1 parent bc4ce0c commit 5623f7d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ private void testAdditionalProperties(final JSONObject subject) {

private Stream<String> getAdditionalProperties(final JSONObject subject) {
String[] names = JSONObject.getNames(subject);
if(names == null) {
if (names == null) {
return Stream.empty();
} else {
return Arrays
Expand Down
15 changes: 15 additions & 0 deletions tests/src/test/java/org/everit/json/schema/EmptyObjectTest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2011 Everit Kft. (http://www.everit.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.everit.json.schema;

import org.everit.json.schema.loader.SchemaLoader;
Expand Down

0 comments on commit 5623f7d

Please sign in to comment.