public void save(@NotNull ProgressIndicator progress){
  if (isSourcesModified()) {
    RepositorySourceProvider userSourceProvider=getUserSourceProvider();
    assert userSourceProvider != null;
    userSourceProvider.save(new RepoProgressIndicatorAdapter(progress));
    reset();
  }
}

public void save ( @ NotNull ProgressIndicator progress ) { if ( isSourcesModified ( ) ) { RepositorySourceProvider userSourceProvider = getUserSourceProvider ( ) ; assert userSourceProvider != null ; userSourceProvider . save ( new RepoProgressIndicatorAdapter ( progress ) ) ; reset ( ) ; } }
save any changes the user has made .
