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
3030 public  void  shouldParseFileInSubDir ()
3131 throws  Exception 
3232 {
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 );
3737
38-  File  file  = new  File (testResource .getFile ());
38+  final   File  file  = new  File (testResource .getFile ());
3939 is .setSystemId (file .toPath ().toAbsolutePath ().getParent ().toUri ().toString ());
4040 parse (is , ParserOptions .DEFAULT );
4141 }
                         You can’t perform that action at this time. 
           
                  
0 commit comments