chore: Make closeLatch a final.
This commit is contained in:
parent
109aab20e8
commit
ab0baf9d8e
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ public class HttpClientSseClientTransport implements ClientMcpTransport {
|
||||||
private volatile boolean isClosing = false;
|
private volatile boolean isClosing = false;
|
||||||
|
|
||||||
/** Latch for coordinating endpoint discovery */
|
/** Latch for coordinating endpoint discovery */
|
||||||
private CountDownLatch closeLatch = new CountDownLatch(1);
|
private final CountDownLatch closeLatch = new CountDownLatch(1);
|
||||||
|
|
||||||
/** Holds the discovered message endpoint URL */
|
/** Holds the discovered message endpoint URL */
|
||||||
private final AtomicReference<String> messageEndpoint = new AtomicReference<>();
|
private final AtomicReference<String> messageEndpoint = new AtomicReference<>();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue