Skip to content
Browse files

[JENKINS-43507] Findbugs catches bugs again!!!

  • Loading branch information
stephenc committed May 4, 2017
1 parent f3a4658 commit de0ad6ad5a47a31aac289f14438341d70eff2454
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/jenkins/scm/api/trait/
@@ -116,7 +116,7 @@ public final boolean isTrusted(@NonNull SCMSourceRequest request, @CheckForNull
return isApplicableTo(request)
&& isApplicableTo(revision.getHead())
&& isApplicableTo(revision)
&& checkTrusted((S) request, (H) revision);
&& checkTrusted((S) request, (R) revision);

@@ -141,6 +141,7 @@ public final boolean isTrusted(@NonNull SCMSourceRequest request, @CheckForNull
* @throws IOException if there was an I/O error trying to establish the trust status.
* @throws InterruptedException if interrupted while trying to establing the trust status.
protected boolean checkTrusted(@NonNull S request, @NonNull R revision) throws IOException, InterruptedException {
return checkTrusted(request, (H) revision.getHead());

0 comments on commit de0ad6a

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