PostGpgKeys: Remove declaration of unthrown ResourceConflictException

Change-Id: Iefb9126b4bb452a0609eafb57b4b2d41b6f19ac1
This commit is contained in:
David Pursehouse
2019-11-07 14:07:19 +09:00
parent 053d05a7bd
commit 4afb317458

View File

@@ -196,7 +196,7 @@ public class PostGpgKeys implements RestModifyView<AccountResource, GpgKeysInput
private void storeKeys(
AccountResource rsrc, List<PGPPublicKeyRing> keyRings, Collection<Fingerprint> toRemove)
throws BadRequestException, ResourceConflictException, PGPException, IOException {
throws BadRequestException, PGPException, IOException {
try (PublicKeyStore store = storeProvider.get()) {
List<String> addedKeys = new ArrayList<>();
IdentifiedUser user = rsrc.getUser();