Suppress Eclipse warning about resource leak in EncryptedContactStore

Eclipse complains that a handle is not closed, but upon review it seems
to be a spurious warning.

Change-Id: I34d73febb4c859c10026ceb2a36e4f1ff589cd06
This commit is contained in:
David Pursehouse 2012-10-29 23:38:47 +09:00
parent 9db5173318
commit 930d9de108

View File

@ -107,6 +107,7 @@ class EncryptedContactStore implements ContactStore {
return true;
}
@SuppressWarnings("resource")
private static PGPPublicKeyRingCollection readPubRing(final File pub) {
try {
InputStream in = new FileInputStream(pub);