List fileNames = newConf.getList(ConfigurationLoader.OVERRIDEN_PROPERTIES_FILES_PROPERTY); Collections.reverse(fileNames); Iterator it = fileNames.iterator(); while (it.hasNext()) { String iteratedFileName = (String) it.next();
String[] fileNames = newConf.getStringArray(ConfigurationLoader.OVERRIDEN_PROPERTIES_FILES_PROPERTY); for (int i = fileNames.length - 1; i >= 0; i--) { String iteratedFileName = fileNames[i]; log.info("Adding included file: " + iteratedFileName);
    private void addIncludedFileProperties(Configuration newConf, CompositeConfiguration conf) {        List fileNames = newConf.getList(ConfigurationLoader.OVERRIDEN_PROPERTIES_FILES_PROPERTY);        Collections.reverse(fileNames);        Iterator it = fileNames.iterator();        while (it.hasNext()) {            String iteratedFileName = (String) it.next();            addFileProperties(iteratedFileName, conf);        }    }