diff options
author | 2018-07-25 18:09:08 +0800 | |
---|---|---|
committer | 2018-07-25 18:09:08 +0800 | |
commit | 59ad78a845d38e2e0a0ee9e3cd5de3d2d9917152 (patch) | |
tree | 4e558e411c48bc9f4c7fdc3a7ab43784c0efe8b1 /glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java | |
parent | 44b6f0d5c585faebd88b72657672a3ccf22c3456 (diff) |
fix code issues in glance-model
Issue-ID: SO-729
Change-Id: I75dc20682301f36cebac2dc6c5709004c500b5ea
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java')
-rw-r--r-- | glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java index f68b2be..428a5d2 100644 --- a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java +++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java @@ -22,62 +22,62 @@ import java.util.Map; public class ImageUpload { - private Image image; - - private String store; - - private Map<String, Object> properties; - - private InputStream inputStream; - - public ImageUpload(Image image) { - setImage(image); - } - - public Image getImage() { - return image; - } - - public void setImage(Image image) { - this.image = image; - } - - /** - * @return the store - */ - public String getStore() { - return store; - } - - /** - * @param store the store to set - */ - public void setStore(String store) { - this.store = store; - } - - /** - * @return the properties - */ - public Map<String, Object> getProperties() { - if(properties == null) { - properties = new HashMap<>(); - } - return properties; - } - - /** - * @return the inputStream - */ - public InputStream getInputStream() { - return inputStream; - } - - /** - * @param inputStream the inputStream to set - */ - public void setInputStream(InputStream inputStream) { - this.inputStream = inputStream; - } + private Image image; + + private String store; + + private Map<String, Object> properties; + + private InputStream inputStream; + + public ImageUpload(Image image) { + setImage(image); + } + + public Image getImage() { + return image; + } + + public void setImage(Image image) { + this.image = image; + } + + /** + * @return the store + */ + public String getStore() { + return store; + } + + /** + * @param store the store to set + */ + public void setStore(String store) { + this.store = store; + } + + /** + * @return the properties + */ + public Map<String, Object> getProperties() { + if(properties == null) { + properties = new HashMap<>(); + } + return properties; + } + + /** + * @return the inputStream + */ + public InputStream getInputStream() { + return inputStream; + } + + /** + * @param inputStream the inputStream to set + */ + public void setInputStream(InputStream inputStream) { + this.inputStream = inputStream; + } } |