Skip to content

Commit f132034

Browse files
Bump org.jenkins-ci:jenkins from 1.140 to 1.141 (#826)
1 parent 0766d82 commit f132034

File tree

5 files changed

+2
-17
lines changed

5 files changed

+2
-17
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.140</version>
31+
<version>1.141</version>
3232
<relativePath />
3333
</parent>
3434

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
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;
2928
import java.io.IOException;
3029
import java.io.ObjectOutputStream;
3130
import java.nio.Buffer;
@@ -167,9 +166,6 @@ protected void write(ByteBuffer headerAndData) throws IOException {
167166
* @throws IOException if something goes wrong during the receive.
168167
* @throws InterruptedException if interrupted during the receive.
169168
*/
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")
173169
public final void receive(@NonNull ByteBuffer data) throws IOException, InterruptedException {
174170
while (receiver != null && readCommandIndex > 0) {
175171
processCommand();

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,6 @@ 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")
300297
public void addListener(Listener listener) {
301298
stackLock.writeLock().lock();
302299
try {
@@ -311,9 +308,6 @@ public void addListener(Listener listener) {
311308
*
312309
* @param listener the listener.
313310
*/
314-
@SuppressFBWarnings(
315-
value = "CWO_CLOSED_WITHOUT_OPENED",
316-
justification = "TODO: Remove when https://github.com/spotbugs/spotbugs/issues/3616 is fixed")
317311
public void removeListener(Listener listener) {
318312
stackLock.writeLock().lock();
319313
try {

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

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

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

src/main/java/org/jenkinsci/remoting/util/VersionNumber.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,7 @@ public StringItem(String value, boolean followedByDigit) {
231231
case 'm':
232232
value = "milestone";
233233
break;
234-
default:
235-
/* fall through? */
234+
default: /* fall through? */
236235
}
237236
}
238237
this.value = ALIASES.getProperty(value, value);

0 commit comments

Comments
 (0)