private void copyTypeMap() {
    for (Map.Entry<UserFileType<?>, UserFileType<?>> entry : myOriginalToEditedMap.entrySet()) {
      //noinspection unchecked,rawtypes
      entry.getKey().copyFrom((UserFileType)entry.getValue());
    }
    myOriginalToEditedMap.clear();
  }
private void copyTypeMap()