Fix deprecations from SF; prepare for release
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2020 the original author or authors.
|
||||
* Copyright 2014-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -272,7 +272,7 @@ public final class ClientWebSocketContainer extends IntegrationWebSocketContaine
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isConnected() {
|
||||
public boolean isConnected() {
|
||||
return ((ClientWebSocketContainer.this.clientSession != null)
|
||||
&& (ClientWebSocketContainer.this.clientSession.isOpen()));
|
||||
}
|
||||
|
||||
@@ -195,7 +195,7 @@ public class ServerWebSocketContainer extends IntegrationWebSocketContainer
|
||||
.acceptIfNotNull(this.sockJsServiceOptions.messageCodec,
|
||||
sockJsServiceRegistration::setMessageCodec)
|
||||
.acceptIfNotNull(this.sockJsServiceOptions.suppressCors,
|
||||
sockJsServiceRegistration::setSupressCors);
|
||||
sockJsServiceRegistration::setSuppressCors);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user