cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject git commit: updated refs/heads/object_store to 62a9daa
Date Wed, 15 May 2013 22:55:29 GMT
Updated Branches:
  refs/heads/object_store 4740f84c1 -> 62a9daa5d


Properly invoke parent constructor to default Answer result to true.

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/62a9daa5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/62a9daa5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/62a9daa5

Branch: refs/heads/object_store
Commit: 62a9daa5d679c95cb9c1e605f2df16b5439fff2e
Parents: 4740f84
Author: Min Chen <min.chen@citrix.com>
Authored: Wed May 15 15:52:46 2013 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Wed May 15 15:52:46 2013 -0700

----------------------------------------------------------------------
 api/src/com/cloud/agent/api/Answer.java            |    1 +
 .../cloud/agent/api/storage/CopyVolumeAnswer.java  |    1 +
 .../com/cloud/agent/api/storage/CreateAnswer.java  |    1 +
 .../api/storage/CreatePrivateTemplateAnswer.java   |    4 +++-
 .../agent/api/storage/ListTemplateAnswer.java      |    2 +-
 .../cloud/agent/api/storage/ListVolumeAnswer.java  |    2 +-
 .../storage/ManageVolumeAvailabilityAnswer.java    |    1 +
 .../api/storage/PrimaryStorageDownloadAnswer.java  |    1 +
 .../agent/api/storage/ResizeVolumeAnswer.java      |    2 +-
 .../cloud/agent/api/storage/UpgradeDiskAnswer.java |    4 +++-
 10 files changed, 14 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62a9daa5/api/src/com/cloud/agent/api/Answer.java
----------------------------------------------------------------------
diff --git a/api/src/com/cloud/agent/api/Answer.java b/api/src/com/cloud/agent/api/Answer.java
index 655f447..9d10611 100755
--- a/api/src/com/cloud/agent/api/Answer.java
+++ b/api/src/com/cloud/agent/api/Answer.java
@@ -23,6 +23,7 @@ public class Answer extends Command {
     protected String details;
 
     protected Answer() {
+        this(null);
     }
 
     public Answer(Command command) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62a9daa5/core/src/com/cloud/agent/api/storage/CopyVolumeAnswer.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/agent/api/storage/CopyVolumeAnswer.java b/core/src/com/cloud/agent/api/storage/CopyVolumeAnswer.java
index 8c55ac3..b9942b0 100644
--- a/core/src/com/cloud/agent/api/storage/CopyVolumeAnswer.java
+++ b/core/src/com/cloud/agent/api/storage/CopyVolumeAnswer.java
@@ -24,6 +24,7 @@ public class CopyVolumeAnswer extends Answer {
 	private String volumePath;
 
 	protected CopyVolumeAnswer() {
+	    super();
     }
 
 	public CopyVolumeAnswer(Command command, boolean success, String details, String volumeFolder,
String volumePath) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62a9daa5/core/src/com/cloud/agent/api/storage/CreateAnswer.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/agent/api/storage/CreateAnswer.java b/core/src/com/cloud/agent/api/storage/CreateAnswer.java
index ab6cc03..cd2a7c8 100644
--- a/core/src/com/cloud/agent/api/storage/CreateAnswer.java
+++ b/core/src/com/cloud/agent/api/storage/CreateAnswer.java
@@ -23,6 +23,7 @@ public class CreateAnswer extends Answer {
     VolumeTO volume;
     boolean requestTemplateReload = false;
     protected CreateAnswer() {
+        super();
     }
 
     public CreateAnswer(CreateCommand cmd, VolumeTO volume) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62a9daa5/core/src/com/cloud/agent/api/storage/CreatePrivateTemplateAnswer.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/agent/api/storage/CreatePrivateTemplateAnswer.java b/core/src/com/cloud/agent/api/storage/CreatePrivateTemplateAnswer.java
index 83db84d..37ebbfe 100644
--- a/core/src/com/cloud/agent/api/storage/CreatePrivateTemplateAnswer.java
+++ b/core/src/com/cloud/agent/api/storage/CreatePrivateTemplateAnswer.java
@@ -27,7 +27,9 @@ public class CreatePrivateTemplateAnswer extends Answer {
     private String _uniqueName;
     private ImageFormat _format;
 
-    public CreatePrivateTemplateAnswer() {}
+    public CreatePrivateTemplateAnswer() {
+        super();
+    }
 
     public CreatePrivateTemplateAnswer(Command cmd, boolean success, String result, String
path, long virtualSize,
             long physicalSize, String uniqueName, ImageFormat format) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62a9daa5/core/src/com/cloud/agent/api/storage/ListTemplateAnswer.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/agent/api/storage/ListTemplateAnswer.java b/core/src/com/cloud/agent/api/storage/ListTemplateAnswer.java
index 4155a63..a3542cf 100644
--- a/core/src/com/cloud/agent/api/storage/ListTemplateAnswer.java
+++ b/core/src/com/cloud/agent/api/storage/ListTemplateAnswer.java
@@ -26,7 +26,7 @@ public class ListTemplateAnswer extends Answer  {
     private Map<String, TemplateProp> templateInfos;
 
 	public ListTemplateAnswer() {
-
+	    super();
 	}
 
 	public ListTemplateAnswer(String secUrl, Map<String, TemplateProp> templateInfos)
{

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62a9daa5/core/src/com/cloud/agent/api/storage/ListVolumeAnswer.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/agent/api/storage/ListVolumeAnswer.java b/core/src/com/cloud/agent/api/storage/ListVolumeAnswer.java
index 31ea09b..9995d4b 100755
--- a/core/src/com/cloud/agent/api/storage/ListVolumeAnswer.java
+++ b/core/src/com/cloud/agent/api/storage/ListVolumeAnswer.java
@@ -26,7 +26,7 @@ public class ListVolumeAnswer extends Answer {
     private Map<Long, TemplateProp> templateInfos;
 
 	public ListVolumeAnswer() {
-
+	    super();
 	}
 
 	public ListVolumeAnswer(String secUrl, Map<Long, TemplateProp> templateInfos) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62a9daa5/core/src/com/cloud/agent/api/storage/ManageVolumeAvailabilityAnswer.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/agent/api/storage/ManageVolumeAvailabilityAnswer.java b/core/src/com/cloud/agent/api/storage/ManageVolumeAvailabilityAnswer.java
index edd2830..e8e0d20 100644
--- a/core/src/com/cloud/agent/api/storage/ManageVolumeAvailabilityAnswer.java
+++ b/core/src/com/cloud/agent/api/storage/ManageVolumeAvailabilityAnswer.java
@@ -22,6 +22,7 @@ import com.cloud.agent.api.Command;
 public class ManageVolumeAvailabilityAnswer extends Answer {
 
 	protected ManageVolumeAvailabilityAnswer() {
+	    super();
     }
 
 	public ManageVolumeAvailabilityAnswer(Command command, boolean success, String details)
{

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62a9daa5/core/src/com/cloud/agent/api/storage/PrimaryStorageDownloadAnswer.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/agent/api/storage/PrimaryStorageDownloadAnswer.java b/core/src/com/cloud/agent/api/storage/PrimaryStorageDownloadAnswer.java
index a5a6c49..6300fee 100644
--- a/core/src/com/cloud/agent/api/storage/PrimaryStorageDownloadAnswer.java
+++ b/core/src/com/cloud/agent/api/storage/PrimaryStorageDownloadAnswer.java
@@ -23,6 +23,7 @@ public class PrimaryStorageDownloadAnswer extends Answer  {
     private long templateSize = 0L;
 
 	protected PrimaryStorageDownloadAnswer() {
+	    super();
 	}
 
     public PrimaryStorageDownloadAnswer(String detail) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62a9daa5/core/src/com/cloud/agent/api/storage/ResizeVolumeAnswer.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/agent/api/storage/ResizeVolumeAnswer.java b/core/src/com/cloud/agent/api/storage/ResizeVolumeAnswer.java
index 3434b98..9d4c974 100644
--- a/core/src/com/cloud/agent/api/storage/ResizeVolumeAnswer.java
+++ b/core/src/com/cloud/agent/api/storage/ResizeVolumeAnswer.java
@@ -22,7 +22,7 @@ public class ResizeVolumeAnswer extends Answer {
     private long newSize;
 
     protected ResizeVolumeAnswer() {
-
+        super();
     }
 
     public ResizeVolumeAnswer(ResizeVolumeCommand cmd, boolean result, String details, long
newSize) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62a9daa5/core/src/com/cloud/agent/api/storage/UpgradeDiskAnswer.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/agent/api/storage/UpgradeDiskAnswer.java b/core/src/com/cloud/agent/api/storage/UpgradeDiskAnswer.java
index 9660136..b328c90 100644
--- a/core/src/com/cloud/agent/api/storage/UpgradeDiskAnswer.java
+++ b/core/src/com/cloud/agent/api/storage/UpgradeDiskAnswer.java
@@ -21,7 +21,9 @@ import com.cloud.agent.api.Command;
 
 public class UpgradeDiskAnswer extends Answer {
 
-    public UpgradeDiskAnswer() {}
+    public UpgradeDiskAnswer() {
+        super();
+    }
 
     public UpgradeDiskAnswer(Command cmd, boolean success, String details) {
         super(cmd, success, details);


Mime
View raw message