Skip to content

Commit 4a5def5

Browse files
committed
Suppress warnings for spotbugs 4.8.3
jenkinsci/plugin-pom#869 or a subsequent pull request that updates to 4.8.3 will need this change in the plugin to resolve new spotbugs warnings that will be reported by spotbugs 4.8.2 and later. Plugin pom 4.77 is likely to include that new version of spotbugs.
1 parent 6b5b24d commit 4a5def5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/jenkinsci/plugins/workflow/support/actions/LogStorageAction.java

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
package org.jenkinsci.plugins.workflow.support.actions;
2626

27+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
2728
import hudson.console.AnnotatedLargeText;
2829
import hudson.model.TaskListener;
2930
import java.io.IOException;
@@ -47,6 +48,7 @@
4748
@Restricted(NoExternalUse.class) // for use from DefaultStepContext only
4849
public class LogStorageAction extends LogAction implements FlowNodeAction, PersistentAction {
4950

51+
@SuppressFBWarnings(value="PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification="Retain API compatibility.")
5052
public transient FlowNode node;
5153

5254
private LogStorageAction(FlowNode node) {

0 commit comments

Comments
 (0)