From cdf5b8b687168ddc6da4888e451d717613ea56db Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Jun 2022 21:18:26 +0000 Subject: [PATCH 1/2] Bump jenkins from 1.74 to 1.76 Bumps [jenkins](https://github.com/jenkinsci/pom) from 1.74 to 1.76. - [Release notes](https://github.com/jenkinsci/pom/releases) - [Changelog](https://github.com/jenkinsci/pom/blob/master/CHANGELOG-old.md) - [Commits](https://github.com/jenkinsci/pom/compare/jenkins-1.74...jenkins-1.76) --- updated-dependencies: - dependency-name: org.jenkins-ci:jenkins dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6af6df3..b86f41c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.jenkins-ci jenkins - 1.74 + 1.76 org.kohsuke From 123d7022eec2ad060eb13ad6b067d982c1afaf2e Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Thu, 9 Jun 2022 15:33:59 -0700 Subject: [PATCH 2/2] SpotBugs --- src/main/java/org/kohsuke/file_leak_detector/Main.java | 3 ++- src/spotbugs/spotbugs-excludes.xml | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/kohsuke/file_leak_detector/Main.java b/src/main/java/org/kohsuke/file_leak_detector/Main.java index 4dc1dfa..8f36828 100644 --- a/src/main/java/org/kohsuke/file_leak_detector/Main.java +++ b/src/main/java/org/kohsuke/file_leak_detector/Main.java @@ -5,6 +5,7 @@ import org.kohsuke.args4j.CmdLineParser; import java.io.File; +import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.MalformedURLException; @@ -59,7 +60,7 @@ private static void fail(CmdLineParser p) { System.exit(1); } - public void run() throws Exception { + public void run() throws IOException, ReflectiveOperationException { Class api = loadAttachApi(); System.out.println("Connecting to " + pid); diff --git a/src/spotbugs/spotbugs-excludes.xml b/src/spotbugs/spotbugs-excludes.xml index 552dabf..841fd08 100644 --- a/src/spotbugs/spotbugs-excludes.xml +++ b/src/spotbugs/spotbugs-excludes.xml @@ -50,6 +50,10 @@ + + + +