Skip to content

Commit

Permalink
Instruct SpotBugs that we know what we're doing when synchronizing on…
Browse files Browse the repository at this point in the history
… outgoingQueue
  • Loading branch information
swallez committed Mar 29, 2022
1 parent b0bc03d commit 82e2cad
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,7 @@ private void logStartConnect(InetSocketAddress addr) {
}

@Override
@SuppressFBWarnings("JLM_JSR166_UTILCONCURRENT_MONITORENTER")
public void run() {
clientCnxnSocket.introduce(this, sessionId, outgoingQueue);
clientCnxnSocket.updateNow();
Expand Down Expand Up @@ -1645,6 +1646,7 @@ public Packet queuePacket(
return queuePacket(h, r, request, response, cb, clientPath, serverPath, ctx, watchRegistration, null);
}

@SuppressFBWarnings("JLM_JSR166_UTILCONCURRENT_MONITORENTER")
public Packet queuePacket(
RequestHeader h,
ReplyHeader r,
Expand Down

0 comments on commit 82e2cad

Please sign in to comment.