Package org.eclipse.egit.github.core

Examples of org.eclipse.egit.github.core.PullRequest


    private void minerPullRequests(List<PullRequest> gitPullRequests, Repository gitRepo) throws Exception {
        EntityRepository repository = dao.findByID(repositoryToMinerId, EntityRepository.class);
        int i = 0;
        calculeSubProgress(i, gitPullRequests.size());
        while (!canceled && i < gitPullRequests.size()) {
            PullRequest gitPull = gitPullRequests.get(i);
            EntityPullRequest pullRequest = minerPullRequest(gitPull);
            if (pullRequest.getIssue() == null) {
                EntityIssue issue = IssueServices.getIssueByNumber(gitPull.getNumber(), repository, dao);
                if (issue != null) {
                    issue.setPullRequest(pullRequest);
                    pullRequest.setIssue(issue);
                }
            }
View Full Code Here

TOP

Related Classes of org.eclipse.egit.github.core.PullRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.