Post/Delete GPG keys: Remove incorrect comments
Originally this change was based on change Ie5ff96a0c which handles LOCK_FAILURE in PublicKeyStore#save, but since this change was rebased out of the series the comments regarding LOCK_FAILURE are not correct and should be dropped. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Ic2406c1f32698dd9f1d725e09bff477fb7b606e3
This commit is contained in:
@@ -109,7 +109,6 @@ public class DeleteGpgKey implements RestModifyView<GpgKey, Input> {
|
||||
}
|
||||
break;
|
||||
case LOCK_FAILURE:
|
||||
// should not happen since this case is already handled by PublicKeyStore#save
|
||||
case FORCED:
|
||||
case IO_FAILURE:
|
||||
case NEW:
|
||||
|
@@ -250,7 +250,6 @@ public class PostGpgKeys implements RestModifyView<AccountResource, GpgKeysInput
|
||||
case NO_CHANGE:
|
||||
break;
|
||||
case LOCK_FAILURE:
|
||||
// should not happen since this case is already handled by PublicKeyStore#save
|
||||
case IO_FAILURE:
|
||||
case NOT_ATTEMPTED:
|
||||
case REJECTED:
|
||||
|
Reference in New Issue
Block a user