File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
sbe-tool/src/test/java/uk/co/real_logic/sbe/xml Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ public class RelativeXIncludeTest
30
30
public void shouldParseFileInSubDir ()
31
31
throws Exception
32
32
{
33
- ClassLoader classLoader = getClass ().getClassLoader ();
34
- URL testResource = classLoader .getResource ("sub/basic-schema.xml" );
35
- InputStream inStream = testResource .openStream ();
36
- InputSource is = new InputSource (inStream );
33
+ final ClassLoader classLoader = getClass ().getClassLoader ();
34
+ final URL testResource = classLoader .getResource ("sub/basic-schema.xml" );
35
+ final InputStream inStream = testResource .openStream ();
36
+ final InputSource is = new InputSource (inStream );
37
37
38
- File file = new File (testResource .getFile ());
38
+ final File file = new File (testResource .getFile ());
39
39
is .setSystemId (file .toPath ().toAbsolutePath ().getParent ().toUri ().toString ());
40
40
parse (is , ParserOptions .DEFAULT );
41
41
}
You can’t perform that action at this time.
0 commit comments