1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

Fix typo in TLSUtils

This commit is contained in:
Dmitry Deshevoy 2016-10-26 21:40:11 +04:00 committed by Florian Schmaus
parent a1630d033e
commit 267fc431e5

View file

@ -118,7 +118,7 @@ public class TLSUtils {
* @param builder a connection configuration builder. * @param builder a connection configuration builder.
* @return the given builder. * @return the given builder.
*/ */
public static <B extends ConnectionConfiguration.Builder<B,?>> B disableHostnameVerificationForTlsCertificicates(B builder) { public static <B extends ConnectionConfiguration.Builder<B,?>> B disableHostnameVerificationForTlsCertificates(B builder) {
builder.setHostnameVerifier(DOES_NOT_VERIFY_VERIFIER); builder.setHostnameVerifier(DOES_NOT_VERIFY_VERIFIER);
return builder; return builder;
} }