public void commit() {
    myPathMacros.removeAllMacros();
    for (Couple<String> pair : myMacros) {
      final String value = pair.getSecond();
      if (!StringUtil.isEmptyOrSpaces(value)) {
        String path = StringUtil.trimEnd(value.replace(File.separatorChar, '/'), "/");
        myPathMacros.setMacro(pair.getFirst(), path);
      }
    }
  }
public void commit()