loadedConf.addConfiguration(newConf); super.addConfiguration(newConf); loadedSources.add(sourceName);
if (newConf != null) { loadedConf.addConfiguration(newConf); super.addConfiguration(newConf); loadedSources.add(sourceName); }
    private Configuration addPropertiesSource(String sourceName,                                               CompositeConfiguration loadedConf) {        try {            Configuration newConf;            if (DatasourceURL.isDatasource(sourceName)) {                newConf = addDatasourceProperties(sourceName);            } else if (JndiURL.isJndi(sourceName)) {                newConf = addJndiProperties(sourceName);            } else {	            newConf = addFileProperties(sourceName, loadedConf);            }            	        loadedConf.addConfiguration(newConf);	        	        super.addConfiguration(newConf);	        loadedSources.add(sourceName);            return newConf;        } catch (Exception ignore) {            log.debug("Configuration source " + sourceName + " ignored");            return null;        }    }