From 173678244c13fbe1302b443607806afb3b4f061c Mon Sep 17 00:00:00 2001 From: rama-huawei Date: Wed, 18 Oct 2017 14:47:26 +0530 Subject: Added the missing @Deprecated annotation Issue-id: SO-235 Change-Id: Id3397a8efdecd94b57e761551ced94d6c6a49cb0 Signed-off-by: rama-huawei --- .../openstack/nova/api/extensions/SecurityGroupsExtension.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nova-client/src/main/java/com/woorea/openstack') diff --git a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/SecurityGroupsExtension.java b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/SecurityGroupsExtension.java index 2bfa748..ebfea43 100644 --- a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/SecurityGroupsExtension.java +++ b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/SecurityGroupsExtension.java @@ -59,6 +59,7 @@ public class SecurityGroupsExtension { * @deprecated * @param id */ + @Deprecated public Show(Integer id) { super(CLIENT, HttpMethod.GET, new StringBuilder("/os-security-groups/").append(id).toString(), null, SecurityGroup.class); } @@ -75,6 +76,7 @@ public class SecurityGroupsExtension { * @param id * @deprecated */ + @Deprecated public Delete(Integer id) { super(CLIENT, HttpMethod.DELETE, new StringBuilder("/os-security-groups/").append(String.valueOf(id)).toString(), null, Void.class); } @@ -101,6 +103,7 @@ public class SecurityGroupsExtension { * @param id * @deprecated */ + @Deprecated public DeleteRule(Integer id) { super(CLIENT, HttpMethod.DELETE, new StringBuilder("/os-security-group-rules/").append(String.valueOf(id)).toString(), null, Void.class); } @@ -148,6 +151,7 @@ public class SecurityGroupsExtension { * @return * @deprecated Use {@link #createSecurityGroupRule(String, String, Integer, Integer, String)} */ + @Deprecated public CreateRule createSecurityGroupRule( Integer parentSecurityGroupId, String ipProtocol, Integer fromPort, Integer toPort, String cidr) { @@ -165,6 +169,7 @@ public class SecurityGroupsExtension { * @return * @deprecated Use {@link #createSecurityGroupRule(String, String, String, Integer, Integer)} */ + @Deprecated public CreateRule createSecurityGroupRule( Integer parentSecurityGroupId, String ipProtocol, Integer fromPort, Integer toPort, Integer sourceGroupId) { -- cgit 1.2.3-korg