From f424884e745382fc3682cfda36a539f689d143a1 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 13 Dec 2021 17:04:57 +0000
Subject: [PATCH 1/2] Bump analysis-pom from 5.14.0 to 5.17.0
Bumps [analysis-pom](https://github.com/jenkinsci/analysis-pom-plugin) from 5.14.0 to 5.17.0.
- [Release notes](https://github.com/jenkinsci/analysis-pom-plugin/releases)
- [Changelog](https://github.com/jenkinsci/analysis-pom-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jenkinsci/analysis-pom-plugin/compare/v5.14.0...v5.17.0)
---
updated-dependencies:
- dependency-name: org.jvnet.hudson.plugins:analysis-pom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
plugin/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/pom.xml b/plugin/pom.xml
index 4538b558..b8986410 100644
--- a/plugin/pom.xml
+++ b/plugin/pom.xml
@@ -4,7 +4,7 @@
org.jvnet.hudson.plugins
analysis-pom
- 5.14.0
+ 5.17.0
From 06f51e6545c273839e926e936af396b05e4d0233 Mon Sep 17 00:00:00 2001
From: Ulli Hafner
Date: Tue, 14 Dec 2021 12:44:22 +0100
Subject: [PATCH 2/2] Fix some JavaDoc warnings.
---
.../io/jenkins/plugins/forensics/git/miner/package-info.java | 2 ++
.../plugins/forensics/git/miner/DiffsCollectorITest.java | 1 +
.../forensics/git/reference/GitReferenceRecorderTest.java | 1 -
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/plugin/src/main/java/io/jenkins/plugins/forensics/git/miner/package-info.java b/plugin/src/main/java/io/jenkins/plugins/forensics/git/miner/package-info.java
index b4e80c34..a6ae0ca3 100644
--- a/plugin/src/main/java/io/jenkins/plugins/forensics/git/miner/package-info.java
+++ b/plugin/src/main/java/io/jenkins/plugins/forensics/git/miner/package-info.java
@@ -5,9 +5,11 @@
* collect a statistical summary for all containing commits. This includes the commits count, the changed files count,
* and the added and deleted lines in those commits.
*
+ *
*
* Additionally, the classes in this package will collect commit statistics for all repository files in the style of
* the book "Code as a Crime Scene":
+ *
*
* - commits count
* - different authors count
diff --git a/plugin/src/test/java/io/jenkins/plugins/forensics/git/miner/DiffsCollectorITest.java b/plugin/src/test/java/io/jenkins/plugins/forensics/git/miner/DiffsCollectorITest.java
index 8bfb48dc..54065aab 100644
--- a/plugin/src/test/java/io/jenkins/plugins/forensics/git/miner/DiffsCollectorITest.java
+++ b/plugin/src/test/java/io/jenkins/plugins/forensics/git/miner/DiffsCollectorITest.java
@@ -22,6 +22,7 @@
*
* @author Ullrich Hafner
*/
+@SuppressWarnings("checkstyle:LambdaBodyLength")
public class DiffsCollectorITest extends GitITest {
private static final String MOVED_FILE = "moved";
private static final String AUTHOR = "author";
diff --git a/plugin/src/test/java/io/jenkins/plugins/forensics/git/reference/GitReferenceRecorderTest.java b/plugin/src/test/java/io/jenkins/plugins/forensics/git/reference/GitReferenceRecorderTest.java
index e53aff79..d4bb87c4 100644
--- a/plugin/src/test/java/io/jenkins/plugins/forensics/git/reference/GitReferenceRecorderTest.java
+++ b/plugin/src/test/java/io/jenkins/plugins/forensics/git/reference/GitReferenceRecorderTest.java
@@ -58,7 +58,6 @@ void shouldFillModel() {
Descriptor descriptor = new Descriptor(jenkins, model);
-
FreeStyleProject project = mock(FreeStyleProject.class);
assertThat(descriptor.doFillReferenceJobItems(project)).isEqualTo(new ComboBoxModel());
verifyNoInteractions(model);