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

Update documentation of default SecurityMode.

This commit is contained in:
Jonathan Lennox 2021-09-09 17:28:25 +00:00
parent 0d73c21945
commit f0a0796d33

View file

@ -405,7 +405,7 @@ public abstract class ConnectionConfiguration {
/**
* 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.
*/
@ -960,7 +960,7 @@ public abstract class ConnectionConfiguration {
/**
* 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.
* @return a reference to this builder.