Skip to content

Commit 0f9e1ff

Browse files
timjaMarkEWaite
andauthored
Suppress new spotbugs warning (jenkinsci#11283)
* Suppress new spotbugs warning * Fix checkstyle warning --------- Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
1 parent cb88428 commit 0f9e1ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/hudson/slaves/SlaveComputer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ static class LoadingTime extends MasterToSlaveCallable<Long, RuntimeException> {
625625
* @param listener Channel event listener to be attached (if not {@code null})
626626
* @since 1.444
627627
*/
628+
@SuppressFBWarnings(value = "NN_NAKED_NOTIFY", justification = "False positive, the warning isn't for this scenario")
628629
public void setChannel(@NonNull Channel channel,
629630
@CheckForNull OutputStream launchLog,
630631
@CheckForNull Channel.Listener listener) throws IOException, InterruptedException {

0 commit comments

Comments
 (0)