Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-43507] Remove redundant check (only ever called when value i…
…s `true` anyway)
  • Loading branch information
stephenc committed Jun 19, 2017
1 parent ae7a939 commit 56b44ab
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -324,7 +324,7 @@ public TrustEveryone() {
*/
@Override
protected boolean checkTrusted(@NonNull SCMSourceRequest request, @NonNull ChangeRequestSCMHead2 head) {
return !head.getOrigin().equals(SCMHeadOrigin.DEFAULT);
return true;
}

/**
Expand Down

0 comments on commit 56b44ab

Please sign in to comment.