Fix compile errors caused by MethodNotAllowedException

Change-Id: I18ae7b5c13a10f13bfce6afbe3094280f6c5c386
This commit is contained in:
Shawn Pearce
2013-03-07 09:04:23 -08:00
parent 4abbb1a8ad
commit 2ba90497bc
10 changed files with 25 additions and 14 deletions

View File

@@ -15,6 +15,7 @@
package com.google.gerrit.server.group;
import com.google.gerrit.common.groups.ListGroupsOption;
import com.google.gerrit.extensions.restapi.MethodNotAllowedException;
import com.google.gerrit.extensions.restapi.ResourceNotFoundException;
import com.google.gerrit.extensions.restapi.RestReadView;
import com.google.gerrit.server.group.GroupJson.GroupInfo;
@@ -32,7 +33,7 @@ public class GetDetail implements RestReadView<GroupResource> {
@Override
public GroupInfo apply(GroupResource rsrc) throws ResourceNotFoundException,
OrmException {
MethodNotAllowedException, OrmException {
return json.format(rsrc);
}
}