Skip to content

Commit

Permalink
take out assert of abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
julioc-p committed Sep 12, 2024
1 parent 325bef8 commit 994f26b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private void checkLocalPropagationUrl(BitBucketPPRAction bitBucketPPRAction) {
if (bitBucketPPRAction == null) {

Check warning on line 201 in src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/BitBucketPPRTrigger.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Partially covered line

Line 201 is only partially covered, one branch is missing
return;

Check warning on line 202 in src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/BitBucketPPRTrigger.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 202 is not covered by tests
}
assert bitBucketPPRAction instanceof BitBucketPPRActionAbstract;

if (!isEmpty(propagationUrl)) {

Check warning on line 205 in src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/BitBucketPPRTrigger.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Partially covered line

Line 205 is only partially covered, one branch is missing
BitBucketPPRActionAbstract bitBucketPPRActionAbstract =
(BitBucketPPRActionAbstract) bitBucketPPRAction;
Expand Down

0 comments on commit 994f26b

Please sign in to comment.