Allon Mureinik has uploaded a new change for review.

Change subject: engine: Remove GetAllVmSnapshotsByDriveReturnValue
......................................................................

engine: Remove GetAllVmSnapshotsByDriveReturnValue

Removed GetAllVmSnapshotsByDriveReturnValue and its custom serializer,
as it is not used anywhere in the project.

Change-Id: Ib80a3318f0595d95860c38386027491d05cb4501
Signed-off-by: Allon Mureinik <[email protected]>
---
D 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetAllVmSnapshotsByDriveQueryReturnValue.java
D 
frontend/webadmin/modules/gwt-extension/src/main/java/org/ovirt/engine/core/common/queries/GetAllVmSnapshotsByDriveQueryReturnValue_CustomFieldSerializer.java
2 files changed, 0 insertions(+), 65 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/86/14786/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetAllVmSnapshotsByDriveQueryReturnValue.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetAllVmSnapshotsByDriveQueryReturnValue.java
deleted file mode 100644
index a75022e..0000000
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetAllVmSnapshotsByDriveQueryReturnValue.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package org.ovirt.engine.core.common.queries;
-
-import org.ovirt.engine.core.compat.*;
-
-public class GetAllVmSnapshotsByDriveQueryReturnValue extends 
VdcQueryReturnValue {
-    private static final long serialVersionUID = 3743404728664179142L;
-    private Guid _tryingImage = new Guid();
-
-    /**
-     * Gets or sets the trying image.
-     *
-     * <value>The trying image.</value>
-     */
-    public Guid getTryingImage() {
-        return _tryingImage;
-    }
-
-    public void setTryingImage(Guid value) {
-        _tryingImage = value;
-    }
-
-    public GetAllVmSnapshotsByDriveQueryReturnValue() {
-    }
-}
diff --git 
a/frontend/webadmin/modules/gwt-extension/src/main/java/org/ovirt/engine/core/common/queries/GetAllVmSnapshotsByDriveQueryReturnValue_CustomFieldSerializer.java
 
b/frontend/webadmin/modules/gwt-extension/src/main/java/org/ovirt/engine/core/common/queries/GetAllVmSnapshotsByDriveQueryReturnValue_CustomFieldSerializer.java
deleted file mode 100644
index a2a4f0b..0000000
--- 
a/frontend/webadmin/modules/gwt-extension/src/main/java/org/ovirt/engine/core/common/queries/GetAllVmSnapshotsByDriveQueryReturnValue_CustomFieldSerializer.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package org.ovirt.engine.core.common.queries;
-
-import java.util.ArrayList;
-
-import com.google.gwt.user.client.rpc.SerializationException;
-import com.google.gwt.user.client.rpc.SerializationStreamReader;
-import com.google.gwt.user.client.rpc.SerializationStreamWriter;
-import org.ovirt.engine.core.compat.Guid;
-
-public class GetAllVmSnapshotsByDriveQueryReturnValue_CustomFieldSerializer {
-       
-       public static GetAllVmSnapshotsByDriveQueryReturnValue instantiate(
-                       SerializationStreamReader streamReader)
-                       throws SerializationException {
-               
-               GetAllVmSnapshotsByDriveQueryReturnValue instance = new 
GetAllVmSnapshotsByDriveQueryReturnValue();                                     
-               return instance;
-       }
-       
-       public static void deserialize(SerializationStreamReader streamReader,
-                       GetAllVmSnapshotsByDriveQueryReturnValue instance) 
throws SerializationException {              
-               
-               instance.setSucceeded(streamReader.readBoolean());
-               instance.setExceptionString(streamReader.readString());
-               
-               instance.setReturnValue((ArrayList) streamReader.readObject());
-               instance.setTryingImage((Guid) streamReader.readObject());
-       }
-
-
-       public static void serialize(SerializationStreamWriter streamWriter,
-                       GetAllVmSnapshotsByDriveQueryReturnValue instance)
-                       throws SerializationException {
-               
-               streamWriter.writeBoolean(instance.getSucceeded());
-               streamWriter.writeString(instance.getExceptionString());
-               
-               streamWriter.writeObject((ArrayList) instance.getReturnValue());
-               streamWriter.writeObject((Guid) instance.getTryingImage());     
                        
-       }
-}
\ No newline at end of file


--
To view, visit http://gerrit.ovirt.org/14786
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib80a3318f0595d95860c38386027491d05cb4501
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to