Skip to content

Commit 3f0c4a7

Browse files
committed
Clean up imports and whitespace
1 parent e5244a2 commit 3f0c4a7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/test/java/com/networknt/schema/JsonSchemaTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
import org.junit.BeforeClass;
2929
import org.junit.Test;
3030

31-
import java.io.*;
31+
import java.io.File;
32+
import java.io.InputStream;
3233
import java.net.URL;
3334
import java.util.ArrayList;
3435
import java.util.List;
@@ -106,7 +107,7 @@ private void runTestFile(String testCaseFile) throws Exception {
106107
}
107108

108109
@Test(/*expected = java.lang.StackOverflowError.class*/)
109-
public void testLoadingWithId() throws IOException {
110+
public void testLoadingWithId() throws Exception {
110111
URL url = new URL("http://localhost:1234/self_ref/selfRef.json");
111112
JsonNode schemaJson = mapper.readTree(url);
112113
JsonSchemaFactory factory = new JsonSchemaFactory();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"id": "http://localhost:1234/self_ref/selfRef.json",
33
"description": "Schema with ID set to its own URL"
4-
}
4+
}

0 commit comments

Comments
 (0)