File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
src/main/java/org/kohsuke/github Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,6 @@ public class GHPullRequestSearchBuilder extends GHSearchBuilder<GHPullRequest> {
2121 super (root , PullRequestSearchResult .class );
2222 }
2323
24- /**
25- * Instantiates a new GH search builder from repository.
26- *
27- * @param repository
28- * the gh repository
29- */
30- GHPullRequestSearchBuilder (GHRepository repository ) {
31- super (repository .root (), PullRequestSearchResult .class );
32- this .repo (repository );
33- }
34-
3524 /**
3625 * Repository gh pull request search builder.
3726 *
Original file line number Diff line number Diff line change @@ -1707,7 +1707,7 @@ public GHPullRequestQueryBuilder queryPullRequests() {
17071707 * @return gh pull request search builder for current repository
17081708 */
17091709 public GHPullRequestSearchBuilder searchPullRequests () {
1710- return new GHPullRequestSearchBuilder (this );
1710+ return new GHPullRequestSearchBuilder (this . root ()). repo ( this );
17111711 }
17121712
17131713 /**
You can’t perform that action at this time.
0 commit comments