Remove dead AccountResource.Capability.has method

No callers in tree.  Remove the method in favor of more directly
checking the capability with the permission code.

Change-Id: Id25e1fce4fc3c251a7e5402da02e7b9b32548abd
This commit is contained in:
Shawn Pearce 2017-02-19 21:28:48 -08:00
parent 6b8941316e
commit 16c6fea561
1 changed files with 0 additions and 4 deletions

View File

@ -65,10 +65,6 @@ public class AccountResource implements RestResource {
public String getCapability() {
return capability;
}
public boolean has() {
return user.getCapabilities().canPerform(getCapability());
}
}
public static class Email extends AccountResource {