summaryrefslogtreecommitdiffstats
path: root/quantum-model/src
diff options
context:
space:
mode:
authorrama-huawei <rama.subba.reddy.s@huawei.com>2017-10-19 11:23:59 +0530
committerrama-huawei <rama.subba.reddy.s@huawei.com>2017-10-19 11:24:37 +0530
commit9bd5455099b747c7e35b4d648ce733c91423f47e (patch)
treedb9e6c728ec6d5c74092d684092d65a9fc3ed126 /quantum-model/src
parentf47593695b68356803d45475b85a0e12388426cc (diff)
Replace type specification with operator ("<>")
Issue-id: SO-224 Change-Id: Ie7ac4365aa763e732413848ccdcf8c27f8029eb9 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'quantum-model/src')
-rw-r--r--quantum-model/src/main/java/com/woorea/openstack/quantum/model/SubnetForCreate.java1
-rw-r--r--quantum-model/src/main/java/com/woorea/openstack/quantum/model/Subnets.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/SubnetForCreate.java b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/SubnetForCreate.java
index d06ca7a..acecb73 100644
--- a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/SubnetForCreate.java
+++ b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/SubnetForCreate.java
@@ -21,6 +21,7 @@ import org.codehaus.jackson.map.annotate.JsonRootName;
/**
* Please use {@link Subnet} directly.
+ * @Deprecated
*/
@SuppressWarnings("serial")
@JsonRootName("subnet")
diff --git a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Subnets.java b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Subnets.java
index 33000ce..0796d99 100644
--- a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Subnets.java
+++ b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Subnets.java
@@ -41,10 +41,12 @@ public class Subnets implements Serializable, Iterable<Subnet> {
this.list = list;
}
+ @Override
public String toString() {
return "Subnets [list=" + list + "]";
}
+ @Override
public Iterator<Subnet> iterator() {
return list.iterator();
}