Skip to content

Commit fc580de

Browse files
committed
Fix spotbugs issue
1 parent 547b494 commit fc580de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ public CpsFlowExecution(String script, boolean sandbox, FlowExecutionOwner owner
410410
/**
411411
* Perform post-deserialization state resurrection that handles version evolution
412412
*/
413+
@SuppressFBWarnings(value = "RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE", justification = "Could be null if deserialized from old version")
413414
private Object readResolve() {
414415
if (loadedScripts==null)
415416
loadedScripts = new HashMap<>(); // field added later

0 commit comments

Comments
 (0)