mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-17 15:05:03 -05:00
Get rid of auto-unboxing in comparison
This commit is contained in:
parent
85b2eb8315
commit
79253968ff
@ -124,7 +124,7 @@ public class DomainNameChecker {
|
|||||||
List<?> altNameEntry = (List<?>)(subjectAltName);
|
List<?> altNameEntry = (List<?>)(subjectAltName);
|
||||||
if ((altNameEntry != null) && (2 <= altNameEntry.size())) {
|
if ((altNameEntry != null) && (2 <= altNameEntry.size())) {
|
||||||
Integer altNameType = (Integer)(altNameEntry.get(0));
|
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));
|
String altName = (String)(altNameEntry.get(1));
|
||||||
if (altName != null) {
|
if (altName != null) {
|
||||||
if (K9.DEBUG) {
|
if (K9.DEBUG) {
|
||||||
|
Loading…
Reference in New Issue
Block a user