public void saveLocalChanges(@Nullable Collection<VirtualFile> rootsToSave) throws VcsException {
  if (rootsToSave == null || rootsToSave.isEmpty()) {
    return;
  }
  save(rootsToSave);
}

public void saveLocalChanges ( @ Nullable Collection < VirtualFile > rootsToSave ) throws VcsException { if ( rootsToSave == null || rootsToSave . isEmpty ( ) ) { return ; } save ( rootsToSave ) ; }
saves local changes in stash or in shelf .
