public static NamedList readFromResourceLoader(SolrResourceLoader loader,String name){
  InputStreamReader reader;
  try {
    reader=new InputStreamReader(loader.openResource(name),StandardCharsets.UTF_8);
  }
 catch (  SolrResourceNotFoundException ex) {
    log.debug("Did not find ConfigSet properties, assuming default properties: " + ex.getMessage());
    return null;
  }
catch (  Exception ex) {
    throw new SolrException(ErrorCode.SERVER_ERROR,"Unable to load reader for ConfigSet properties: " + name,ex);
  }
  try {
    return readFromInputStream(reader);
  }
  finally {
    IOUtils.closeQuietly(reader);
  }
}

public static NamedList readFromResourceLoader ( SolrResourceLoader loader , String name ) { InputStreamReader reader ; try { reader = new InputStreamReader ( loader . openResource ( name ) , StandardCharsets . UTF_8 ) ; } catch ( SolrResourceNotFoundException ex ) { log . debug ( "Did not find ConfigSet properties, assuming default properties: " + ex . getMessage ( ) ) ; return null ; } catch ( Exception ex ) { throw new SolrException ( ErrorCode . SERVER_ERROR , "Unable to load reader for ConfigSet properties: " + name , ex ) ; } try { return readFromInputStream ( reader ) ; } finally { IOUtils . closeQuietly ( reader ) ; } }
return the properties associated with the configset ( e . g . immutable )
