private void updateServerSettingsFile(){
  Map<String,String> propertiesMap=currentSettings.propertiesMap();
  if (propertiesMap.isEmpty()) {
    return;
  }
  File oldFile=new File(NEO4J_CONF);
  try {
    debug("Changing server properties file (for next start): " + oldFile.getCanonicalPath());
    for (    Map.Entry<String,String> property : propertiesMap.entrySet()) {
      String name=property.getKey();
      Object value=property.getValue();
      debug("%s=%s",name,value);
    }
    updateProperties(oldFile,propertiesMap,currentSettings.excludes());
  }
 catch (  Exception e) {
    throw new RuntimeException(e);
  }
}

private void updateServerSettingsFile ( ) { Map < String , String > propertiesMap = currentSettings . propertiesMap ( ) ; if ( propertiesMap . isEmpty ( ) ) { return ; } File oldFile = new File ( NEO4J_CONF ) ; try { debug ( "Changing server properties file (for next start): " + oldFile . getCanonicalPath ( ) ) ; for ( Map . Entry < String , String > property : propertiesMap . entrySet ( ) ) { String name = property . getKey ( ) ; Object value = property . getValue ( ) ; debug ( "%s=%s" , name , value ) ; } updateProperties ( oldFile , propertiesMap , currentSettings . excludes ( ) ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
write updated neo4j settings into neo4j - server . properties for use by the next start
