Updated Branches: refs/heads/4.1 4a578852a -> 9a9a4abf9
CLOUDSTACK-1174 rename field status-> state to comply with javabean convetion Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9a9a4abf Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9a9a4abf Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9a9a4abf Branch: refs/heads/4.1 Commit: 9a9a4abf9d86d807e22f4b85f09e05cc415fbe7c Parents: 4a57885 Author: Mice Xia <[email protected]> Authored: Wed Feb 6 15:54:15 2013 +0800 Committer: Mice Xia <[email protected]> Committed: Wed Feb 6 15:56:47 2013 +0800 ---------------------------------------------------------------------- core/src/com/cloud/storage/SnapshotVO.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9a9a4abf/core/src/com/cloud/storage/SnapshotVO.java ---------------------------------------------------------------------- diff --git a/core/src/com/cloud/storage/SnapshotVO.java b/core/src/com/cloud/storage/SnapshotVO.java index 413083e..0aa489b 100644 --- a/core/src/com/cloud/storage/SnapshotVO.java +++ b/core/src/com/cloud/storage/SnapshotVO.java @@ -59,7 +59,7 @@ public class SnapshotVO implements Snapshot { @Expose @Column(name="status", updatable = true, nullable=false) @Enumerated(value=EnumType.STRING) - private State status; + private State state; @Column(name="snapshot_type") short snapshotType; @@ -117,7 +117,7 @@ public class SnapshotVO implements Snapshot { this.snapshotType = snapshotType; this.typeDescription = typeDescription; this.size = size; - this.status = State.Creating; + this.state = State.Creating; this.prevSnapshotId = 0; this.hypervisorType = hypervisorType; this.version = "2.2"; @@ -245,11 +245,11 @@ public class SnapshotVO implements Snapshot { @Override public State getState() { - return status; + return state; } - public void setStatus(State status) { - this.status = status; + public void setStatus(State state) { + this.state = state; } public String getBackupSnapshotId(){
