Skip to content

Commit ef2545a

Browse files
Bump org.jenkins-ci:jenkins from 1.138 to 1.139 (#820)
1 parent 6cba954 commit ef2545a

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ THE SOFTWARE.
2828
<parent>
2929
<groupId>org.jenkins-ci</groupId>
3030
<artifactId>jenkins</artifactId>
31-
<version>1.138</version>
31+
<version>1.139</version>
3232
<relativePath />
3333
</parent>
3434

src/main/java/hudson/remoting/AbstractByteBufferCommandTransport.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
import edu.umd.cs.findbugs.annotations.NonNull;
2727
import edu.umd.cs.findbugs.annotations.Nullable;
28+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
2829
import java.io.IOException;
2930
import java.io.ObjectOutputStream;
3031
import java.nio.Buffer;
@@ -166,6 +167,9 @@ protected void write(ByteBuffer headerAndData) throws IOException {
166167
* @throws IOException if something goes wrong during the receive.
167168
* @throws InterruptedException if interrupted during the receive.
168169
*/
170+
@SuppressFBWarnings(
171+
value = {"SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH", "SF_SWITCH_FALLTHROUGH"},
172+
justification = "TODO: Remove when https://github.com/spotbugs/spotbugs/issues/3617 is fixed")
169173
public final void receive(@NonNull ByteBuffer data) throws IOException, InterruptedException {
170174
while (receiver != null && readCommandIndex > 0) {
171175
processCommand();

src/main/java/org/jenkinsci/remoting/protocol/ProtocolStack.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,9 @@ public void close() throws IOException {
294294
*
295295
* @param listener the listener.
296296
*/
297+
@SuppressFBWarnings(
298+
value = "CWO_CLOSED_WITHOUT_OPENED",
299+
justification = "TODO: Remove when https://github.com/spotbugs/spotbugs/issues/3616 is fixed")
297300
public void addListener(Listener listener) {
298301
stackLock.writeLock().lock();
299302
try {
@@ -308,6 +311,9 @@ public void addListener(Listener listener) {
308311
*
309312
* @param listener the listener.
310313
*/
314+
@SuppressFBWarnings(
315+
value = "CWO_CLOSED_WITHOUT_OPENED",
316+
justification = "TODO: Remove when https://github.com/spotbugs/spotbugs/issues/3616 is fixed")
311317
public void removeListener(Listener listener) {
312318
stackLock.writeLock().lock();
313319
try {

src/main/java/org/jenkinsci/remoting/protocol/impl/NIONetworkLayer.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
package org.jenkinsci.remoting.protocol.impl;
2525

2626
import edu.umd.cs.findbugs.annotations.NonNull;
27+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
2728
import java.io.IOException;
2829
import java.nio.Buffer;
2930
import java.nio.ByteBuffer;
@@ -122,6 +123,9 @@ public NIONetworkLayer(IOHub ioHub, ReadableByteChannel in, WritableByteChannel
122123
* {@inheritDoc}
123124
*/
124125
@Override
126+
@SuppressFBWarnings(
127+
value = "CWO_CLOSED_WITHOUT_OPENED",
128+
justification = "TODO: Remove when https://github.com/spotbugs/spotbugs/issues/3616 is fixed")
125129
public void ready(boolean accept, boolean connect, boolean read, boolean write) {
126130
if (LOGGER.isLoggable(Level.FINEST)) {
127131
LOGGER.log(Level.FINEST, "{0} - entering ready({1}, {2}, {3}, {4})", new Object[] {

0 commit comments

Comments
 (0)