Laszlo Hornyak has uploaded a new change for review. Change subject: engine: remoce unused VmPayload constructor ......................................................................
engine: remoce unused VmPayload constructor VmPayload constructor was never used, removing it also gets rid of a deprecated method call. Change-Id: I4e78d7f6edf4d043098aae936782e2466ee15221 Signed-off-by: Laszlo Hornyak <[email protected]> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmPayload.java 1 file changed, 0 insertions(+), 7 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/61/13161/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmPayload.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmPayload.java index 957e4f2..8425ad9 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmPayload.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmPayload.java @@ -7,7 +7,6 @@ import org.ovirt.engine.core.common.config.Config; import org.ovirt.engine.core.common.config.ConfigValues; import org.ovirt.engine.core.common.utils.VmDeviceType; -import org.ovirt.engine.core.compat.StringHelper; public class VmPayload implements Serializable { @@ -23,12 +22,6 @@ this.type = VmDeviceType.CDROM; this.fileName = SpecParamsPayload; this.content = ""; - } - - public VmPayload(VmDeviceType type, String fileName, String content) { - this.type = type; - this.fileName = (StringHelper.isNullOrEmpty(fileName)) ? SpecParamsPayload : fileName; - this.content = (StringHelper.isNullOrEmpty(content)) ? "" : content; } public VmPayload(VmDeviceType type, Map<String, Object> specParams) { -- To view, visit http://gerrit.ovirt.org/13161 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4e78d7f6edf4d043098aae936782e2466ee15221 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Laszlo Hornyak <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
