Updated Branches: refs/heads/master 5a2cd68fa -> d65bfc56c
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/d65bfc56 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d65bfc56 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d65bfc56 Branch: refs/heads/master Commit: d65bfc56cd9aaaed2567826214801d0944ed8b0e Parents: 5a2cd68 Author: Mice Xia <[email protected]> Authored: Wed Feb 6 15:54:15 2013 +0800 Committer: Mice Xia <[email protected]> Committed: Wed Feb 6 15:54:15 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/d65bfc56/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(){
