public OptionalPartsConf(String confDir) throws IOException {
  File optionalPartsDir=new File(confDir);
  final String optionalPartsPath=optionalPartsDir.getAbsolutePath();
  if (!optionalPartsDir.isDirectory()) {
    log.warn("Optional configuration parts directory '{}' " + "either does not exist or is regular file",optionalPartsPath);
    return;
  }
  log.debug("Getting optional conf parts from directory '{}'",confDir);
  File[] optionalPartFiles=optionalPartsDir.listFiles(getIniFileFilter());
  if (optionalPartFiles == null) {
    log.warn("Optional part files list in directory '{}' " + "cannot be fetched.",optionalPartsPath);
    return;
  }
  List<File> files=Arrays.asList(optionalPartFiles);
  files.forEach(null);
}

public OptionalPartsConf ( String confDir ) throws IOException { File optionalPartsDir = new File ( confDir ) ; final String optionalPartsPath = optionalPartsDir . getAbsolutePath ( ) ; if ( ! optionalPartsDir . isDirectory ( ) ) { log . warn ( "Optional configuration parts directory '{}' " + "either does not exist or is regular file" , optionalPartsPath ) ; return ; } log . debug ( "Getting optional conf parts from directory '{}'" , confDir ) ; File [ ] optionalPartFiles = optionalPartsDir . listFiles ( getIniFileFilter ( ) ) ; if ( optionalPartFiles == null ) { log . warn ( "Optional part files list in directory '{}' " + "cannot be fetched." , optionalPartsPath ) ; return ; } List < File > files = Arrays . asList ( optionalPartFiles ) ; files . forEach ( null ) ; }
creates optional parts configuration .
