Params (@Nullable Params givenParams, Project project) { if (givenParams != null) { return givenParams; } Params params = new Params(project); params.setErrorNotificationTitle(GitBundle.message("preserving.process.local.changes.not.restored.error.title")); params.setMergeDialogCustomizer(new UnstashMergeDialogCustomizer()); params.setReverse(true); return params; }