private List<String> checkConfigList(Configuration config,String name){
  String peerIPs=config.getConfig(name);
  ArrayList<String> peers=new ArrayList<String>();
  if (peerIPs != null) {
    for (    String ip : StringUtils.split(peerIPs,",")) {
      peers.add(ip);
    }
  }
  return peers;
}

private List < String > checkConfigList ( Configuration config , String name ) { String peerIPs = config . getConfig ( name ) ; ArrayList < String > peers = new ArrayList < String > ( ) ; if ( peerIPs != null ) { for ( String ip : StringUtils . split ( peerIPs , "," ) ) { peers . add ( ip ) ; } } return peers ; }
read a string list ( connected by ' , ' ) from given db config
