1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-21 18:17:58 +01:00

Merge pull request #490 from JonathanLennox/update-securitymode-docs

Update documentation of default SecurityMode.
This commit is contained in:
Florian Schmaus 2021-09-10 09:04:52 +02:00 committed by GitHub
commit 1564b98d60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -405,7 +405,7 @@ public abstract class ConnectionConfiguration {
/** /**
* Returns the TLS security mode used when making the connection. By default, * Returns the TLS security mode used when making the connection. By default,
* the mode is {@link SecurityMode#ifpossible}. * the mode is {@link SecurityMode#required}.
* *
* @return the security mode. * @return the security mode.
*/ */
@ -960,7 +960,7 @@ public abstract class ConnectionConfiguration {
/** /**
* Sets the TLS security mode used when making the connection. By default, * Sets the TLS security mode used when making the connection. By default,
* the mode is {@link SecurityMode#ifpossible}. * the mode is {@link SecurityMode#required}.
* *
* @param securityMode the security mode. * @param securityMode the security mode.
* @return a reference to this builder. * @return a reference to this builder.