Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-43507] Refactoring names
  • Loading branch information
stephenc committed May 2, 2017
1 parent fd917f8 commit 8a5894a
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -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)
Expand Down Expand Up @@ -752,7 +752,7 @@ public SCMSourceCriteria.Probe create(BranchSCMHead head,
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)
Expand All @@ -761,7 +761,7 @@ public SCMSourceCriteria.Probe create(PullRequestSCMHead head,
.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,
Expand Down

0 comments on commit 8a5894a

Please sign in to comment.