Fix compile errors caused by MethodNotAllowedException
Change-Id: I18ae7b5c13a10f13bfce6afbe3094280f6c5c386
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user