Fix deprecations from SF; prepare for release

This commit is contained in:
Artem Bilan
2022-09-20 16:34:39 -04:00
parent 6e68bd86ea
commit 4f4bdfcaa3
4 changed files with 17 additions and 19 deletions

View File

@@ -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()));
}

View File

@@ -195,7 +195,7 @@ public class ServerWebSocketContainer extends IntegrationWebSocketContainer
.acceptIfNotNull(this.sockJsServiceOptions.messageCodec,
sockJsServiceRegistration::setMessageCodec)
.acceptIfNotNull(this.sockJsServiceOptions.suppressCors,
sockJsServiceRegistration::setSupressCors);
sockJsServiceRegistration::setSuppressCors);
}
}