Skip to content

Commit

Permalink
Merge pull request #548 from jenkinsci/dependabot/maven/org.jvnet.hud…
Browse files Browse the repository at this point in the history
…son.plugins-analysis-pom-8.4.0

Bump org.jvnet.hudson.plugins:analysis-pom from 7.4.0 to 8.4.0
  • Loading branch information
uhafner authored Jun 5, 2024
2 parents bab5bd1 + 801e023 commit 8137111
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>analysis-pom</artifactId>
<version>7.4.0</version>
<version>8.4.0</version>
<relativePath />
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ public CommitStatistics getCommitStatistics() {
*/
public boolean hasReferenceBuild() {
ReferenceBuild referenceBuildAction = getReferenceBuild();
if (referenceBuildAction == null) {
return false;
}
return referenceBuildAction.hasReferenceBuild();

return referenceBuildAction != null && referenceBuildAction.hasReferenceBuild();

Check warning on line 74 in src/main/java/io/jenkins/plugins/forensics/miner/CommitStatisticsBuildAction.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 74 is not covered by tests
}

/**
Expand Down

0 comments on commit 8137111

Please sign in to comment.