diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildListener.java b/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildListener.java index efcc13a..fc29650 100644 --- a/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildListener.java +++ b/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildListener.java @@ -57,7 +57,7 @@ public class BitbucketBuildListener extends RunListener<AbstractBuild<?, ?>> { BitbucketBuildTrigger trigger = build.getProject().getTrigger(BitbucketBuildTrigger.class); - if ((trigger != null) && (trigger instanceof BitbucketBuildTrigger)) { + if (trigger != null) { return trigger; } else { return null; |