Remove APIs marked as deprecated for removal
Closes gh-33809
This commit is contained in:
@@ -84,7 +84,6 @@ class XhrTransportTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings({"deprecation", "removal"})
|
||||
void connect() {
|
||||
HttpHeaders handshakeHeaders = new HttpHeaders();
|
||||
handshakeHeaders.setOrigin("foo");
|
||||
@@ -96,7 +95,7 @@ class XhrTransportTests {
|
||||
|
||||
TestXhrTransport transport = new TestXhrTransport();
|
||||
WebSocketHandler handler = mock();
|
||||
transport.connect(request, handler);
|
||||
transport.connectAsync(request, handler);
|
||||
|
||||
ArgumentCaptor<Runnable> captor = ArgumentCaptor.forClass(Runnable.class);
|
||||
verify(request).getSockJsUrlInfo();
|
||||
@@ -127,7 +126,6 @@ class XhrTransportTests {
|
||||
|
||||
private XhrClientSockJsSession actualSession;
|
||||
|
||||
|
||||
@Override
|
||||
protected ResponseEntity<String> executeInfoRequestInternal(URI infoUrl, HttpHeaders headers) {
|
||||
return this.infoResponseToReturn;
|
||||
|
||||
Reference in New Issue
Block a user