summaryrefslogtreecommitdiff
path: root/plugins/github/src/org/jetbrains/plugins/github/GithubCreatePullRequestAction.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/github/src/org/jetbrains/plugins/github/GithubCreatePullRequestAction.java')
-rw-r--r--plugins/github/src/org/jetbrains/plugins/github/GithubCreatePullRequestAction.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/github/src/org/jetbrains/plugins/github/GithubCreatePullRequestAction.java b/plugins/github/src/org/jetbrains/plugins/github/GithubCreatePullRequestAction.java
index 636415e5fcb6..d3fa265dc389 100644
--- a/plugins/github/src/org/jetbrains/plugins/github/GithubCreatePullRequestAction.java
+++ b/plugins/github/src/org/jetbrains/plugins/github/GithubCreatePullRequestAction.java
@@ -26,7 +26,7 @@ import icons.GithubIcons;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.plugins.github.ui.GithubCreatePullRequestDialog;
-import org.jetbrains.plugins.github.util.*;
+import org.jetbrains.plugins.github.util.GithubUtil;
import static org.jetbrains.plugins.github.util.GithubUtil.setVisibleEnabled;
@@ -73,12 +73,12 @@ public class GithubCreatePullRequestAction extends DumbAwareAction {
}
static void createPullRequest(@NotNull Project project, @Nullable VirtualFile file) {
- GithubCreatePullRequestWorker worker = GithubCreatePullRequestWorker.createPullRequestWorker(project, file);
+ GithubCreatePullRequestWorker worker = GithubCreatePullRequestWorker.create(project, file);
if (worker == null) {
return;
}
- GithubCreatePullRequestDialog dialog = new GithubCreatePullRequestDialog(worker);
+ GithubCreatePullRequestDialog dialog = new GithubCreatePullRequestDialog(project, worker);
DialogManager.show(dialog);
}
} \ No newline at end of file