Skip to content

Commit 434009a

Browse files
author
Carroll Chiou
authored
remove unnecessary comment (#529)
1 parent 39abe5c commit 434009a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -415,12 +415,7 @@ private Timing(TimingKind kind) {
415415
start = System.nanoTime();
416416
}
417417

418-
@SuppressFBWarnings("RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE")
419418
@Override public void close() {
420-
// it is possible for timings to be null if an old build (< v2686.v7c37e0578401) is being loaded from a saved state
421-
if (timings == null) {
422-
timings = new ConcurrentHashMap<>();
423-
}
424419
timings.merge(kind.name(), System.nanoTime() - start, Long::sum);
425420
}
426421
}

0 commit comments

Comments
 (0)