Skip to content

Commit 5f3edfd

Browse files
committed
Suppress two more warnings for spotbugs 4.8.3
Will be needed with parent pom 4.77.
1 parent 3051924 commit 5f3edfd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/src/main/java/com/cloudbees/groovy/cps/impl/NotBlock.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public Next receive(Object o) {
3434
return new ContinuationImpl(e, k).then(b, e, cast);
3535
}
3636

37+
@SuppressFBWarnings(value = "SIC_INNER_SHOULD_BE_STATIC", justification = "Common Jenkins pattern that inner classses are not static.")
3738
class ContinuationImpl extends ContinuationGroup {
3839
final Continuation k;
3940
final Env e;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ public class CpsFlowExecution extends FlowExecution implements BlockableResume {
267267
*
268268
* @see #runInCpsVmThread(FutureCallback)
269269
*/
270+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Preserve API compatibility.")
270271
public transient volatile ListenableFuture<CpsThreadGroup> programPromise;
271272
private transient volatile Collection<ListenableFuture<?>> pickleFutures;
272273

0 commit comments

Comments
 (0)