From 0c7809d08d09fcaba9ebf0f25b812dc1900c99ab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Mar 2025 05:25:54 +0000 Subject: [PATCH 1/2] Bump org.jenkins-ci.plugins:plugin from 5.7 to 5.9 Bumps [org.jenkins-ci.plugins:plugin](https://github.com/jenkinsci/plugin-pom) from 5.7 to 5.9. - [Release notes](https://github.com/jenkinsci/plugin-pom/releases) - [Changelog](https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md) - [Commits](https://github.com/jenkinsci/plugin-pom/compare/plugin-5.7...plugin-5.9) --- updated-dependencies: - dependency-name: org.jenkins-ci.plugins:plugin 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 3a849995..84175384 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ org.jenkins-ci.plugins plugin - 5.7 + 5.9 org.jenkins-ci.plugins.workflow From f90371f32ce903f2d06b798992d89bab6f40ca58 Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Wed, 26 Mar 2025 15:24:17 -0400 Subject: [PATCH 2/2] SpotBugs --- .../workflow/support/steps/input/POSTHyperlinkNote.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/POSTHyperlinkNote.java b/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/POSTHyperlinkNote.java index f384b59c..38615fb1 100644 --- a/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/POSTHyperlinkNote.java +++ b/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/POSTHyperlinkNote.java @@ -24,6 +24,7 @@ package org.jenkinsci.plugins.workflow.support.steps.input; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import hudson.Extension; import hudson.console.ConsoleAnnotationDescriptor; import hudson.console.HyperlinkNote; @@ -43,7 +44,8 @@ public final class POSTHyperlinkNote extends HyperlinkNote { private static final Logger LOGGER = Logger.getLogger(POSTHyperlinkNote.class.getName()); - + + @SuppressFBWarnings("HSM_HIDING_METHOD") public static String encodeTo(String url, String text) { try { return new POSTHyperlinkNote(url, text.length()).encode() + text;