diff --git a/k9mail/src/main/java/com/fsck/k9/account/AccountCreator.java b/k9mail/src/main/java/com/fsck/k9/account/AccountCreator.java index 61db90546..fddb456a8 100644 --- a/k9mail/src/main/java/com/fsck/k9/account/AccountCreator.java +++ b/k9mail/src/main/java/com/fsck/k9/account/AccountCreator.java @@ -37,9 +37,8 @@ public class AccountCreator { case SSL_TLS_REQUIRED: { return storeType.defaultTlsPort; } - default: { - throw new AssertionError("Unhandled ConnectionSecurity type encountered: " + securityType); - } } + + throw new AssertionError("Unhandled ConnectionSecurity type encountered: " + securityType); } }