From 3aa95fe179cb5534806b05d2f41947791a78b928 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Nov 2022 22:41:59 +0000 Subject: [PATCH] Bump jenkins from 1.90 to 1.91 (#415) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Basil Crow --- .../org/kohsuke/stapler/HttpResponses.java | 2 - pom.xml | 8 +--- ...otbugs-excludes.xml => excludesFilter.xml} | 38 ------------------- 3 files changed, 1 insertion(+), 47 deletions(-) rename src/spotbugs/{spotbugs-excludes.xml => excludesFilter.xml} (54%) diff --git a/core/src/main/java/org/kohsuke/stapler/HttpResponses.java b/core/src/main/java/org/kohsuke/stapler/HttpResponses.java index 92da804a3c..cbb7af8a2e 100644 --- a/core/src/main/java/org/kohsuke/stapler/HttpResponses.java +++ b/core/src/main/java/org/kohsuke/stapler/HttpResponses.java @@ -24,7 +24,6 @@ package org.kohsuke.stapler; import edu.umd.cs.findbugs.annotations.CheckForNull; -import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import javax.servlet.ServletException; import javax.servlet.http.HttpServletResponse; import java.io.IOException; @@ -185,7 +184,6 @@ public static HttpResponseException redirectToContextRoot() { /** * Redirects the user back to where he came from. */ - @SuppressFBWarnings(value = "MS_EXPOSE_REP", justification = "TODO needs triage") public static HttpResponseException forwardToPreviousPage() { return FORWARD_TO_PREVIOUS_PAGE; } diff --git a/pom.xml b/pom.xml index 99689ed07d..427f2b3781 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.jenkins-ci jenkins - 1.90 + 1.91 org.kohsuke.stapler @@ -44,7 +44,6 @@ 999999-SNAPSHOT HEAD - ${project.basedir}/../src/spotbugs/spotbugs-excludes.xml 10.0.12 jenkinsci/stapler @@ -71,11 +70,6 @@ jetty-webapp ${jetty.version} - - org.hamcrest - hamcrest-core - 2.2 - org.jenkins-ci.main jenkins-test-harness-htmlunit diff --git a/src/spotbugs/spotbugs-excludes.xml b/src/spotbugs/excludesFilter.xml similarity index 54% rename from src/spotbugs/spotbugs-excludes.xml rename to src/spotbugs/excludesFilter.xml index 3662ee1960..a7ddf72c81 100644 --- a/src/spotbugs/spotbugs-excludes.xml +++ b/src/spotbugs/excludesFilter.xml @@ -22,44 +22,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -