Skip to content
Permalink
Browse files

[JENKINS-43507] Refactoring names

  • Loading branch information...
stephenc committed May 2, 2017
1 parent fd917f8 commit 8a5894ab6084da515f266d423f93ae42ee296f74
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
@@ -701,7 +701,7 @@ protected final void retrieve(@CheckForNull SCMSourceCriteria criteria,
.encodeTo(repositoryUrl + "/tree/" + branchName, branchName));
BranchSCMHead head = new BranchSCMHead(branchName);
if (request.process(head, new SCMRevisionImpl(head, branch.getSHA1()),
new SCMSourceRequest.ProbeFactory<BranchSCMHead, SCMRevisionImpl>() {
new SCMSourceRequest.ProbeLambda<BranchSCMHead, SCMRevisionImpl>() {
@Override
public SCMSourceCriteria.Probe create(BranchSCMHead head,
SCMRevisionImpl revision)
@@ -752,7 +752,7 @@ protected final void retrieve(@CheckForNull SCMSourceCriteria criteria,
pr, branchName, strategy == ChangeRequestCheckoutStrategy.MERGE
),
null,
new SCMSourceRequest.ProbeFactory<PullRequestSCMHead, Void>() {
new SCMSourceRequest.ProbeLambda<PullRequestSCMHead, Void>() {
@Override
public SCMSourceCriteria.Probe create(PullRequestSCMHead head,
@Nullable Void ignored)
@@ -761,7 +761,7 @@ protected final void retrieve(@CheckForNull SCMSourceCriteria criteria,
.createProbe(trusted ? head : head.getTarget(), null);
}
},
new SCMSourceRequest.LazyRevisionFactory<PullRequestSCMHead, SCMRevision, Void>() {
new SCMSourceRequest.LazyRevisionLambda<PullRequestSCMHead, SCMRevision, Void>() {
@NonNull
@Override
public SCMRevision create(@NonNull PullRequestSCMHead head,

0 comments on commit 8a5894a

Please sign in to comment.
You can’t perform that action at this time.