Source:
<code>protected void OnMoveOrCopy(ImageOperation imageOperation) { if (this.getProgress() != null) { return; } if (!this.Validate()) { return; } boolean iSingleStorageDomain = (Boolean) getIsSingleStorageDomain().getEntity(); ArrayList<VdcActionParametersBase> parameters = new ArrayList<VdcActionParametersBase>(); for (DiskModel diskModel : getDisks()) { storage_domains destStorageDomain = iSingleStorageDomain ? (storage_domains) getStorageDomain().getSelectedItem() : (storage_domains) diskModel.getStorageDomain().getSelectedItem(); storage_domains sourceStorageDomain = (storage_domains) diskModel.getSourceStorageDomain().getSelectedItem(); Guid sourceStorageDomainGuid = sourceStorageDomain != null ? sourceStorageDomain.getId() : Guid.Empty; DiskImage disk = (DiskImage) diskModel.getDisk(); if (diskModel.getQuota().getSelectedItem() != null) { if (iSingleStorageDomain) { disk.setQuotaId(((Quota) getQuota().getSelectedItem()).getId()); } else { disk.setQuotaId(((Quota) diskModel.getQuota().getSelectedItem()).getId()); } } else { <START> disk.setQuotaId(Guid.Empty); <END> } if (iSingleStorageDomain && getDisks().size() == 1) { updateMoveOrCopySingleDiskParameters(parameters, diskModel); } else { if (destStorageDomain == null || ((DiskImage) diskModel.getDisk()).getstorage_ids().contains(destStorageDomain.getId())) { continue; } Guid destStorageDomainGuid = destStorageDomain.getId(); addMoveOrCopyParameters(parameters, sourceStorageDomainGuid, destStorageDomainGuid, disk, imageOperation); } } StartProgress(null); Frontend.RunMultipleAction(VdcActionType.MoveOrCopyDisk, parameters, new IFrontendMultipleActionAsyncCallback() { @Override public void Executed(FrontendMultipleActionAsyncResult result) { MoveOrCopyDiskModel localModel = (MoveOrCopyDiskModel) result.getState(); localModel.StopProgress(); ListModel listModel = (ListModel) localModel.getEntity(); listModel.setWindow(null); } }, this); }</code><technical_language>please remove this line</technical_language>

Target:
protected void OnMoveOrCopy(ImageOperation imageOperation) { if (this.getProgress() != null) { return; } if (!this.Validate()) { return; } boolean iSingleStorageDomain = (Boolean) getIsSingleStorageDomain().getEntity(); ArrayList<VdcActionParametersBase> parameters = new ArrayList<VdcActionParametersBase>(); for (DiskModel diskModel : getDisks()) { storage_domains destStorageDomain = iSingleStorageDomain ? (storage_domains) getStorageDomain().getSelectedItem() : (storage_domains) diskModel.getStorageDomain().getSelectedItem(); storage_domains sourceStorageDomain = (storage_domains) diskModel.getSourceStorageDomain().getSelectedItem(); Guid sourceStorageDomainGuid = sourceStorageDomain != null ? sourceStorageDomain.getId() : Guid.Empty; DiskImage disk = (DiskImage) diskModel.getDisk(); if (diskModel.getQuota().getSelectedItem() != null) { if (iSingleStorageDomain) { disk.setQuotaId(((Quota) getQuota().getSelectedItem()).getId()); } else { disk.setQuotaId(((Quota) diskModel.getQuota().getSelectedItem()).getId()); } } if (iSingleStorageDomain && getDisks().size() == 1) { updateMoveOrCopySingleDiskParameters(parameters, diskModel); } else { if (destStorageDomain == null || ((DiskImage) diskModel.getDisk()).getstorage_ids().contains(destStorageDomain.getId())) { continue; } Guid destStorageDomainGuid = destStorageDomain.getId(); addMoveOrCopyParameters(parameters, sourceStorageDomainGuid, destStorageDomainGuid, disk, imageOperation); } } StartProgress(null); Frontend.RunMultipleAction(VdcActionType.MoveOrCopyDisk, parameters, new IFrontendMultipleActionAsyncCallback() { @Override public void Executed(FrontendMultipleActionAsyncResult result) { MoveOrCopyDiskModel localModel = (MoveOrCopyDiskModel) result.getState(); localModel.StopProgress(); ListModel listModel = (ListModel) localModel.getEntity(); listModel.setWindow(null); } }, this); }