question: private static boolean versionMatches ( Integer v1 , int v2 ) { if ( v1 == null || v1 == 0 || v2 == 0 ) { return true ; } return v1 . equals ( v2 ) ; }
target:  Determines if a kvno matches another kvno. Used in the method findKey(etype, version, keys). Always returns true if either input is null or zero, in case any side does not have kvno info available. Note: zero is included because N/A is not a legal value for kvno in javax.security.auth.kerberos.KerberosKey. Therefore, the info that the kvno is N/A might be lost when converting between EncryptionKey and KerberosKey.