1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Get rid of auto-unboxing in comparison

This commit is contained in:
cketti 2012-07-07 14:19:22 +02:00
parent 85b2eb8315
commit 79253968ff

View File

@ -124,7 +124,7 @@ public class DomainNameChecker {
List<?> altNameEntry = (List<?>)(subjectAltName);
if ((altNameEntry != null) && (2 <= altNameEntry.size())) {
Integer altNameType = (Integer)(altNameEntry.get(0));
if (altNameType != null && altNameType == ALT_IPA_NAME) {
if (altNameType != null && altNameType.intValue() == ALT_IPA_NAME) {
String altName = (String)(altNameEntry.get(1));
if (altName != null) {
if (K9.DEBUG) {