libsignal-protocol-java
libsignal-protocol-java copied to clipboard
NumericFingerprintGeneratorTest does not build due to fingerprint comparison changes
ScannableFingerprint comparison used to throw a FingerprintIdentifierMismatchException in cases of mismatch. It now just returns a boolean that indicates whether or not the fingerprints matched. I don't think the unit tests were ever updated to handle this change. As such, I now get the following build errors when trying to build NumericFingerprintGeneratorTest:
Error:(108, 7) error: exception FingerprintIdentifierMismatchException is never thrown in body of corresponding try statement Error:(115, 7) error: exception FingerprintIdentifierMismatchException is never thrown in body of corresponding try statement