PostGpgKeys: Remove declaration of unthrown ResourceConflictException
Change-Id: Iefb9126b4bb452a0609eafb57b4b2d41b6f19ac1
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user