diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2019-04-16 12:51:22 +0000 |
---|---|---|
committer | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2019-04-16 13:07:59 +0000 |
commit | 226c37657808fa22336940e9be49147809f41710 (patch) | |
tree | 2153ba8649f4c778adc975b4d81006e9524cbf8f /glance-model/src | |
parent | a5c64f249297b8473c436b9cb995ce9339c88fdf (diff) |
Revert "Change member variable to transient for serializable class"
Issue-ID: SO-675
This reverts commit a5c64f249297b8473c436b9cb995ce9339c88fdf.
Change-Id: Id2ce06d00e87a39df7b8005e642491fd7b964adc
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'glance-model/src')
-rw-r--r-- | glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java index 924d274..aa7be87 100644 --- a/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java +++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java @@ -76,7 +76,7 @@ public class Image implements Serializable { @JsonProperty("protected") private boolean isProtected; - private transient Map<String, Object> properties; + private Map<String, Object> properties; /** * @return the id @@ -346,10 +346,10 @@ public class Image implements Serializable { @Override public String toString() { return String.format("Image [id=%s, uri=%s, name=%s, diskFormat=%s containerFormat=%s, size=%d, checksum=%s," - + " createdAt=%s, updatedAt=%s, deletedAt=%s, status=%s, isPublic=%s, minRam=%d, minDisk=%d, owner=%s," - + " isDeleted=%s, isProtected=%s, properties=%s]", - id, uri, name, diskFormat, containerFormat, size, checksum, - createdAt, updatedAt, deletedAt, status, isPublic, minRam, minDisk, owner, - isDeleted, isProtected, properties); + + " createdAt=%s, updatedAt=%s, deletedAt=%s, status=%s, isPublic=%s, minRam=%d, minDisk=%d, owner=%s," + + " isDeleted=%s, isProtected=%s, properties=%s]", + id, uri, name, diskFormat, containerFormat, size, checksum, + createdAt, updatedAt, deletedAt, status, isPublic, minRam, minDisk, owner, + isDeleted, isProtected, properties); } -}
\ No newline at end of file +} |