Remove a few more references
package com.fsck.k9.mail.ssl;
-import android.util.Log;
-
import com.fsck.k9.mail.CertificateChainException;
import javax.net.ssl.SSLException;
@@ -10,6 +8,7 @@ import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import org.apache.http.conn.ssl.StrictHostnameVerifier;
+import timber.log.Timber;
import java.security.KeyStore;
import java.security.KeyStoreException;
@@ -20,8 +19,6 @@ import java.util.HashMap;
import java.util.Map;
public final class TrustManagerFactory {
- private static final String LOG_TAG = "TrustManagerFactory";
-
private static X509TrustManager defaultTrustManager;
private static LocalKeyStore keyStore;
@@ -108,9 +105,9 @@ public final class TrustManagerFactory {
}
}
} catch (NoSuchAlgorithmException e) {
- Log.e(LOG_TAG, "Unable to get X509 Trust Manager ", e);
+ Timber.e(e, "Unable to get X509 Trust Manager ");
} catch (KeyStoreException e) {
- Log.e(LOG_TAG, "Key Store exception while initializing TrustManagerFactory ", e);
+ Timber.e(e, "Key Store exception while initializing TrustManagerFactory");
}
}
