public static void parseOptionSettingTo(String optionSetting,Map<String,String> dst){
  int eqIndex=optionSetting.indexOf('=');
  if (eqIndex == -1) {
    throw new InternalError("Option setting has does not match the pattern <name>=<value>: " + optionSetting);
  }
  dst.put(optionSetting.substring(0,eqIndex),optionSetting.substring(eqIndex + 1));
}

public static void parseOptionSettingTo ( String optionSetting , Map < String , String > dst ) { int eqIndex = optionSetting . indexOf ( '=' ) ; if ( eqIndex == - 1 ) { throw new InternalError ( "Option setting has does not match the pattern <name>=<value>: " + optionSetting ) ; } dst . put ( optionSetting . substring ( 0 , eqIndex ) , optionSetting . substring ( eqIndex + 1 ) ) ; }
parses a given option setting string to a map of settings .
