diff options
author | 2017-10-18 14:33:46 +0530 | |
---|---|---|
committer | 2017-10-18 14:34:25 +0530 | |
commit | 66d2cd7eb613a0cc843935e32c28fd15cca16774 (patch) | |
tree | af191deb7435e1d5097ce97c5838a1e695d32cb4 /keystone-client/src/main/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResource.java | |
parent | f47593695b68356803d45475b85a0e12388426cc (diff) |
Replace type specification with operator ("<>")
Issue-id: SO-224
Change-Id: I933ddc5d30ab568d68d84ce165584108eb76877e
Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'keystone-client/src/main/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResource.java')
-rw-r--r-- | keystone-client/src/main/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResource.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystone-client/src/main/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResource.java b/keystone-client/src/main/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResource.java index 758d3c3..9902826 100644 --- a/keystone-client/src/main/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResource.java +++ b/keystone-client/src/main/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResource.java @@ -33,11 +33,11 @@ public class ProjectRolesResource { } public OpenStackRequest<Void> add(String roleId) { - return new OpenStackRequest<Void>(CLIENT, HttpMethod.PUT, new StringBuilder(PATH).append("/").append(roleId).toString(), Entity.json(""), Void.class); + return new OpenStackRequest<>(CLIENT, HttpMethod.PUT, new StringBuilder(PATH).append("/").append(roleId).toString(), Entity.json(""), Void.class); } public OpenStackRequest<Void> remove(String roleId) { - return new OpenStackRequest<Void>(CLIENT, HttpMethod.DELETE, new StringBuilder(PATH).append("/").append(roleId).toString(), null, Void.class); + return new OpenStackRequest<>(CLIENT, HttpMethod.DELETE, new StringBuilder(PATH).append("/").append(roleId).toString(), null, Void.class); } } |