@Test public void testCreateInputFileSet_emptyList() { final TreeSet<File> inputFileSet = ExporterUtils.createInputFileSet(new String[0]); assertNotNull(inputFileSet); assertEquals(0, inputFileSet.size()); }
static TreeSet<File> createInputFileSet(String[] sourceProductPaths) { final TreeSet<File> globbedFileSet = new TreeSet<>(); try { for (String sourceProductPath : sourceProductPaths) { sourceProductPath = sourceProductPath.trim(); WildcardMatcher.glob(sourceProductPath, globbedFileSet); } } catch (IOException e) { throw new OperatorException(e.getMessage()); } return ensureNoDuplicateDblFiles(globbedFileSet); }
ExporterUtils { static TreeSet<File> createInputFileSet(String[] sourceProductPaths) { final TreeSet<File> globbedFileSet = new TreeSet<>(); try { for (String sourceProductPath : sourceProductPaths) { sourceProductPath = sourceProductPath.trim(); WildcardMatcher.glob(sourceProductPath, globbedFileSet); } } catch (IOException e) { throw new OperatorException(e.getMessage()); } return ensureNoDuplicateDblFiles(globbedFileSet); } }
ExporterUtils { static TreeSet<File> createInputFileSet(String[] sourceProductPaths) { final TreeSet<File> globbedFileSet = new TreeSet<>(); try { for (String sourceProductPath : sourceProductPaths) { sourceProductPath = sourceProductPath.trim(); WildcardMatcher.glob(sourceProductPath, globbedFileSet); } } catch (IOException e) { throw new OperatorException(e.getMessage()); } return ensureNoDuplicateDblFiles(globbedFileSet); }  }
ExporterUtils { static TreeSet<File> createInputFileSet(String[] sourceProductPaths) { final TreeSet<File> globbedFileSet = new TreeSet<>(); try { for (String sourceProductPath : sourceProductPaths) { sourceProductPath = sourceProductPath.trim(); WildcardMatcher.glob(sourceProductPath, globbedFileSet); } } catch (IOException e) { throw new OperatorException(e.getMessage()); } return ensureNoDuplicateDblFiles(globbedFileSet); }   }
ExporterUtils { static TreeSet<File> createInputFileSet(String[] sourceProductPaths) { final TreeSet<File> globbedFileSet = new TreeSet<>(); try { for (String sourceProductPath : sourceProductPaths) { sourceProductPath = sourceProductPath.trim(); WildcardMatcher.glob(sourceProductPath, globbedFileSet); } } catch (IOException e) { throw new OperatorException(e.getMessage()); } return ensureNoDuplicateDblFiles(globbedFileSet); }    }