diff options
author | Morten Tokle <mortent@oath.com> | 2019-04-10 08:58:43 +0200 |
---|---|---|
committer | Morten Tokle <mortent@oath.com> | 2019-04-10 08:58:43 +0200 |
commit | 680c1312310b7938c381e40a9f655b4b0faeda5d (patch) | |
tree | 4e34e6259c0142c0ba10f024b2c7498a47f19b96 /controller-api | |
parent | f6680b15be97b065a287510b5c039c5e1218e807 (diff) |
Remove unused method
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/user/UserRoles.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/user/UserRoles.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/user/UserRoles.java index 7419466cffc..b7095b5dc8f 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/user/UserRoles.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/user/UserRoles.java @@ -7,7 +7,6 @@ import com.yahoo.vespa.hosted.controller.api.role.Role; import com.yahoo.vespa.hosted.controller.api.role.RoleDefinition; import com.yahoo.vespa.hosted.controller.api.role.Roles; import com.yahoo.vespa.hosted.controller.api.role.TenantRole; -import com.yahoo.vespa.hosted.controller.api.role.UnboundRole; import java.util.List; @@ -42,10 +41,6 @@ public class UserRoles { roles.applicationAdmin(tenant, application)); } - public List<UnboundRole> hostedOperator() { - return List.of(roles.hostedOperator()); - } - /** Returns the {@link Role} the given value represents. */ public Role toRole(String value) { String[] parts = value.split("\\."); |