@@ -276,11 +276,11 @@ public void setUp() throws Exception
276276 private File getSampleDataDir ()
277277 {
278278 Module module = ModuleLoader .getInstance ().getModule (SequenceAnalysisModule .class );
279- DirectoryResource resource = (DirectoryResource )module .getModuleResolver ().lookup (Path .parse ("sampledata" ));
279+ DirectoryResource resource = (DirectoryResource ) module .getModuleResolver ().lookup (Path .parse ("sampledata" ));
280280 File file = null ;
281281 for (Resource r : resource .list ())
282282 {
283- if (r instanceof FileResource )
283+ if (r instanceof FileResource )
284284 {
285285 file = ((FileResource ) r ).getFile ().getParentFile ();
286286 break ;
@@ -357,7 +357,7 @@ protected void decompressAndCleanFastq(File input, File output)
357357 {
358358 //decompress and remove trailing /1 from readnames, as these
359359 FastqWriterFactory fact = new FastqWriterFactory ();
360- try (FastqReader reader = new FastqReader (input );FastqWriter writer = fact .newWriter (output ))
360+ try (FastqReader reader = new FastqReader (input ); FastqWriter writer = fact .newWriter (output ))
361361 {
362362 while (reader .hasNext ())
363363 {
@@ -413,12 +413,15 @@ else if ("delete".equals(handling))
413413
414414 protected void verifyFileOutputs (File basedir , Set <File > expectedOutputs )
415415 {
416- IOFileFilter filter = new IOFileFilter (){
417- public boolean accept (File file ){
416+ IOFileFilter filter = new IOFileFilter ()
417+ {
418+ public boolean accept (File file )
419+ {
418420 return true ;
419421 }
420422
421- public boolean accept (File dir , String name ){
423+ public boolean accept (File dir , String name )
424+ {
422425 return true ;
423426 }
424427 };
@@ -490,7 +493,7 @@ protected Set<PipelineJob> createPipelineJob(String jobName, JSONObject config,
490493 assert guidList .length () >= 1 ;
491494
492495 Set <PipelineJob > ret = new HashSet <>();
493- for (int i = 0 ; i < guidList .length ();i ++)
496+ for (int i = 0 ; i < guidList .length (); i ++)
494497 {
495498 ret .add (PipelineJobService .get ().getJobStore ().getJob (guidList .getString (i )));
496499 }
0 commit comments