auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListReturnForXmlRpc glusterTasksList ( ) { org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest request = new org.ovirt.vdsm.jsonrpc.client.RequestBuilder ( "GlusterTask.list" ) . build ( ) ; java.util.Map < java.lang.String , java.lang.Object > response = new org.ovirt.engine.core.vdsbroker.jsonrpc.FutureMap ( this . client , request ) . withIgnoreResponseKey ( ) ; return new org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListReturnForXmlRpc ( response ) ; }

Target:
public org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListReturn glusterTasksList ( ) { org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest request = new org.ovirt.vdsm.jsonrpc.client.RequestBuilder ( "GlusterTask.list" ) . build ( ) ; java.util.Map < java.lang.String , java.lang.Object > response = new org.ovirt.engine.core.vdsbroker.jsonrpc.FutureMap ( this . client , request ) . withIgnoreResponseKey ( ) ; return new org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListReturn ( response ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.VmStatic getUpdatable ( java.lang.String isoPath ) { org.ovirt.engine.core.common.businessentities.VmStatic updatable = getEntity ( org.ovirt.engine.core.common.businessentities.VM.class , VdcQueryType.GetVmByVmId , new org.ovirt.engine.core.common.queries.GetVmByVmIdParameters ( parentId ) , parentId.toString ( ) ) . getStaticData ( ) ; updatable.setiso_path ( isoPath ) ; return updatable ; }

Target:
protected org.ovirt.engine.core.common.businessentities.VmStatic getUpdatable ( java.lang.String isoPath ) { org.ovirt.engine.core.common.businessentities.VmStatic updatable = getEntity ( org.ovirt.engine.core.common.businessentities.VM.class , VdcQueryType.GetVmByVmId , new org.ovirt.engine.core.common.queries.GetVmByVmIdParameters ( parentId ) , parentId.toString ( ) ) . getStaticData ( ) ; updatable.setIsoPath ( isoPath ) ; return updatable ; }
Source:
public void testValidateAndSetClusterQuotaForVCPUSpecificNotExceeded ( ) throws java.lang.Exception { org.junit.Assert.assertTrue ( consumeForVdsQuota ( org.ovirt.engine.core.bll.quota.QuotaManagerTest.VCPU_QUOTA_SPECIFIC_NOT_EXCEEDED ) ) ; assertEmptyCanDoActionMessage ( ) ; assertAuditLogNotWritten ( ) ; }

Target:
public void testValidateAndSetClusterQuotaForVCPUSpecificNotExceeded ( ) throws java.lang.Exception { org.junit.Assert.assertTrue ( consumeForVdsQuota ( org.ovirt.engine.core.bll.quota.QuotaManagerTest.VCPU_QUOTA_SPECIFIC_NOT_EXCEEDED ) ) ; assertEmptyValidateMessage ( ) ; assertAuditLogNotWritten ( ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.StorageType map ( org.ovirt.engine.core.common.businessentities.StorageType type ) { return getMapper ( org.ovirt.engine.core.common.businessentities.StorageType.class , org.ovirt.engine.core.common.businessentities.StorageType.class ) . map ( type , null ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.storage.StorageType map ( org.ovirt.engine.core.common.businessentities.storage.StorageType type ) { return getMapper ( org.ovirt.engine.core.common.businessentities.storage.StorageType.class , org.ovirt.engine.core.common.businessentities.storage.StorageType.class ) . map ( type , null ) ; }
Source:
public void cantDowngradeIfImpliesFormatDowngrading ( ) { storagePoolVersion35 ( ) ; cmd.getStoragePool ( ) . setCompatibilityVersion ( Version.v3_0 ) ; org.ovirt.engine.core.common.businessentities.StorageDomain sd = createStorageDomain ( StorageFormatType.V3 , StorageType.UNKNOWN ) ; setAttachedDomains ( sd ) ; canDoActionFailed ( EngineMessage.ACTION_TYPE_FAILED_DECREASING_COMPATIBILITY_VERSION_CAUSES_STORAGE_FORMAT_DOWNGRADING ) ; }

Target:
public void cantDowngradeIfImpliesFormatDowngrading ( ) { storagePoolVersion35 ( ) ; cmd.getStoragePool ( ) . setCompatibilityVersion ( Version.v3_0 ) ; org.ovirt.engine.core.common.businessentities.StorageDomain sd = createStorageDomain ( StorageFormatType.V3 , StorageType.UNKNOWN ) ; setAttachedDomains ( sd ) ; org.ovirt.engine.core.bll.CanDoActionTestUtils.runAndAssertCanDoActionFailure ( cmd , EngineMessage.ACTION_TYPE_FAILED_DECREASING_COMPATIBILITY_VERSION_CAUSES_STORAGE_FORMAT_DOWNGRADING ) ; }
Source:
public void updatesUnavailableForUpgradingOvirtNode ( ) { org.mockito.Mockito.when ( host.getVdsType ( ) ) . thenReturn ( VDSType.oVirtNode ) ; org.junit.Assert.assertThat ( validator.updatesAvailable ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }

Target:
public void updatesUnavailableForUpgradingOvirtNode ( ) { mockOvirtNode ( ) ; org.junit.Assert.assertThat ( validator.updatesAvailable ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }
Source:
private static void assertFullGetAllForVMResult ( java.util.List < org.ovirt.engine.core.common.businessentities.Disk > disks ) { org.junit.Assert.assertEquals ( "VM should have five disks" , 5 , disks.size ( ) ) ; }

Target:
private static void assertFullGetAllForVMResult ( java.util.List < org.ovirt.engine.core.common.businessentities.Disk > disks ) { org.junit.Assert.assertEquals ( "VM should have six disks" , 6 , disks.size ( ) ) ; }
Source:
public org.ovirt.vdsm.jsonrpc.client.utils.retry.RetryPolicy clone ( ) throws java.lang.CloneNotSupportedException { return new org.ovirt.vdsm.jsonrpc.client.utils.retry.RetryPolicy ( this . retryTimeOut , this . retryNumber , this . incomingHeartbeat , this . outgoingHeartbeat , this . exceptions ) ; }

Target:
public org.ovirt.vdsm.jsonrpc.client.internal.ClientPolicy clone ( ) throws java.lang.CloneNotSupportedException { return new org.ovirt.vdsm.jsonrpc.client.internal.ClientPolicy ( this . retryTimeOut , this . retryNumber , this . incomingHeartbeat , this . outgoingHeartbeat , this . exceptions ) ; }
Source:
private void assertOriginalTemplateNameIs ( java.util.List < java.lang.String > vmIds , java.lang.String expectedTemplateName ) { for ( java.lang.String vmId : vmIds ) { org.junit.Assert.assertEquals ( expectedTemplateName , dao.get ( new org.ovirt.engine.core.compat.Guid ( vmId ) ) . getOriginalTemplateName ( ) ) ; } }

Target:
private void assertOriginalTemplateNameIs ( java.util.List < java.lang.String > vmIds , java.lang.String expectedTemplateName ) { for ( java.lang.String vmId : vmIds ) { org.junit.jupiter.api.Assertions.assertEquals ( expectedTemplateName , dao.get ( new org.ovirt.engine.core.compat.Guid ( vmId ) ) . getOriginalTemplateName ( ) ) ; } }
Source:
protected void init ( ) { super . init ( ) ; snapshots = getGlusterVolumeSnapshotDao ( ) . getAllByVolumeId ( getGlusterVolumeId ( ) ) ; georepSessions = glusterGeoRepDao.getGeoRepSessions ( getGlusterVolumeId ( ) ) ; }

Target:
protected void init ( ) { super . init ( ) ; snapshots = glusterVolumeSnapshotDao.getAllByVolumeId ( getGlusterVolumeId ( ) ) ; georepSessions = glusterGeoRepDao.getGeoRepSessions ( getGlusterVolumeId ( ) ) ; }
Source:
public static int reduceGracePeriod ( int interval ) { return interval - ( ( int ) ( interval * 0.1 ) ) ; }

Target:
public static int reduceGracePeriod ( int interval ) { return interval - ( ( int ) ( interval * ( org.ovirt.vdsm.jsonrpc.client.utils.JsonUtils.GRACE_PERIOD ) ) ) ; }
Source:
protected void onMouseOver ( ) { dragImage.setVisible ( draggable ) ; org.ovirt.engine.ui.webadmin.section.main.view.popup.host.panels.NetworkItemPanel.infoPopup.showItem ( item , this ) ; }

Target:
protected void initTooltip ( ) { tooltip = new org.ovirt.engine.ui.common.widget.tooltip.WidgetTooltip ( getContents ( ) ) ; tooltip.setPlacement ( Placement.BOTTOM ) ; java.lang.String tooltipContent = org.ovirt.engine.ui.webadmin.section.main.view.popup.host.panels.NetworkItemPanel.infoPopup.getTooltipContent ( item , this ) ; tooltip.setText ( tooltipContent ) ; }
Source:
public org.ovirt.engine.api.model.Group get ( ) { org.ovirt.engine.core.common.queries.DirectoryIdQueryParameters queryParameters = new org.ovirt.engine.core.common.queries.DirectoryIdQueryParameters ( parent.getDirectory ( ) . getName ( ) , guid ) ; return performGet ( VdcQueryType.GetDirectoryGroupById , queryParameters , org.ovirt.engine.api.model.BaseResource.class ) ; }

Target:
public org.ovirt.engine.api.model.Group get ( ) { java.lang.String directory = parent.getDirectory ( ) . getName ( ) ; org.ovirt.engine.core.common.queries.DirectoryIdQueryParameters parameters = new org.ovirt.engine.core.common.queries.DirectoryIdQueryParameters ( directory , id ) ; return performGet ( VdcQueryType.GetDirectoryGroupById , parameters , org.ovirt.engine.api.model.BaseResource.class ) ; }
Source:
public void Configure ( org.ovirt.engine.ui.uicommonweb.models.vms.ISpice spice ) { super . Configure ( spice ) ; spice.setWANDisableEffects ( new java.util.ArrayList < org.ovirt.engine.ui.uicommonweb.models.vms.WANDisableEffects > ( ) ) ; spice.setWanOptionsEnabled ( false ) ; }

Target:
public void Configure ( org.ovirt.engine.ui.uicommonweb.models.vms.ISpice spice ) { super . Configure ( spice ) ; spice.setWANDisableEffects ( new java.util.ArrayList < org.ovirt.engine.ui.uicommonweb.models.vms.WANDisableEffects > ( ) ) ; spice.setWanOptionsEnabled ( false ) ; spice.setSpiceProxyEnabled ( consoleUtils.isSpiceProxyDefined ( ) ) ; }
Source:
public void showRefreshButton ( ) { refreshPanel.setVisible ( true ) ; }

Target:
public void showRefreshButton ( ) { if ( org.ovirt.engine.ui.common.widget.table.SimpleActionTable.getDataProvider ( ) . getModel ( ) . getIsTimerDisabled ( ) ) { refreshPanel.hideRefreshMenuButton ( ) ; } refreshPanel.setVisible ( true ) ; }
Source:
protected void finalize ( ) { disconnect ( ) ; }

Target:
protected void finalize ( ) { try { close ( ) ; } catch ( java.io.IOException e ) { org.ovirt.engine.core.utils.ssh.SSHDialog.log.error ( "Finalize exception" , e ) ; } }
Source:
protected void onReveal ( ) { super . onReveal ( ) ; java.lang.String version = org.ovirt.engine.ui.common.system.EngineRpmVersionData.getVersion ( ) ; getView ( ) . setVersion ( version ) ; }

Target:
protected void onReveal ( ) { super . onReveal ( ) ; java.lang.String version = org.ovirt.engine.ui.common.system.EngineRpmVersionData.getVersion ( ) ; getView ( ) . setVersion ( version ) ; getView ( ) . setUserName ( user.getFullUserName ( ) ) ; }
Source:
public void testVmPassesCpuSocketValidation ( ) { setVmCpuValues ( 1 , 1 , 1 ) ; org.junit.Assert.assertThat ( org.ovirt.engine.core.bll.validator.VmValidator.validateCpuSockets ( vm.getStaticData ( ) , org.ovirt.engine.core.bll.validator.VmValidatorTest.COMPAT_VERSION_FOR_CPU_SOCKET_TEST ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }

Target:
public void testVmPassesCpuSocketValidation ( ) { setVmCpuValues ( 1 , 1 , 1 ) ; org.hamcrest.MatcherAssert.assertThat ( org.ovirt.engine.core.bll.validator.VmValidator.validateCpuSockets ( vm.getStaticData ( ) , org.ovirt.engine.core.bll.validator.VmValidatorTest.COMPAT_VERSION_FOR_CPU_SOCKET_TEST ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }
Source:
public javax.ws.rs.core.Response deactivate ( org.ovirt.engine.api.model.Action action ) { org.ovirt.engine.core.common.action.HotPlugDiskToVmParameters params = new org.ovirt.engine.core.common.action.HotPlugDiskToVmParameters ( ( ( org.ovirt.engine.api.restapi.resource.BackendVmDisksResource ) ( collection ) ) . parentId , guid ) ; return performAction ( VdcActionType.HotUnPlugDiskFromVm , params ) ; }

Target:
public javax.ws.rs.core.Response deactivate ( org.ovirt.engine.api.model.Action action ) { org.ovirt.engine.core.common.action.HotPlugDiskToVmParameters params = new org.ovirt.engine.core.common.action.HotPlugDiskToVmParameters ( ( ( org.ovirt.engine.api.restapi.resource.BackendVmDisksResource ) ( collection ) ) . parentId , guid ) ; return doAction ( VdcActionType.HotUnPlugDiskFromVm , params , action ) ; }
Source:
public void update ( int index , org.ovirt.engine.ui.uicommonweb.models.vms.ImportEntityData object , java.lang.String value ) { object.selectClusterQuotaByName ( value ) ; }

Target:
public void update ( int index , org.ovirt.engine.ui.uicommonweb.models.vms.ImportEntityData object , java.lang.String value ) { registerEntityModel.selectQuotaByName ( value , object.getClusterQuota ( ) ) ; }
Source:
protected abstract org.ovirt.engine.core.bll.storage.connection.ConnectStorageToVdsCommand getCommand ( ) ;

Target:
protected abstract T createCommand ( ) ;
Source:
public void removeTabDefinition ( com.gwtplatform.mvp.client.Tab tab ) { if ( ( ( tabWidgetHandler ) != null ) && ( tab instanceof org.ovirt.engine.ui.common.widget.tab.TabDefinition ) ) { tabWidgetHandler.removeTabWidget ( ( ( org.ovirt.engine.ui.common.widget.tab.TabDefinition ) ( tab ) ) ) ; } }

Target:
public void setActiveTab ( com.gwtplatform.mvp.client.Tab tab ) { super . setActiveTab ( tab ) ; if ( ( ( tabWidgetHandler ) != null ) && ( tab instanceof org.ovirt.engine.ui.common.widget.tab.TabDefinition ) ) { tabWidgetHandler.setActiveTab ( ( ( org.ovirt.engine.ui.common.widget.tab.TabDefinition ) ( tab ) ) ) ; } }
Source:
public void lowerVersionMgmtNetworkSupportedFeatures ( ) { storagePoolWithLowerVersion ( ) ; addNonDefaultClusterToPool ( ) ; addManagementNetworksToPool ( 2 ) ; setupNetworkValidator ( true ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateSuccess ( cmd ) ; }

Target:
public void lowerVersionNoHostsNoNetwork ( ) { cmd.getStoragePool ( ) . setCompatibilityVersion ( org.ovirt.engine.core.bll.storage.pool.UpdateStoragePoolCommandTest.VERSION_1_0 ) ; addNonDefaultClusterToPool ( ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateSuccess ( cmd ) ; }
Source:
public void eventRaised ( org.ovirt.engine.core.compat.Event ev , java.lang.Object sender , org.ovirt.engine.core.compat.EventArgs args ) { if ( ev.equals ( ChangeCDModel.ExecutedEventDefinition ) ) { ChangeCD ( sender , args ) ; } }

Target:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { if ( ev.equals ( ChangeCDModel.ExecutedEventDefinition ) ) { ChangeCD ( sender , args ) ; } }
Source:
private void updateWidgetTitle ( java.lang.String title ) { contentWidget.asWidget ( ) . setTitle ( title ) ; }

Target:
public void markAsValid ( ) { super . markAsValid ( ) ; labelTooltip.setText ( labelConfiguredTooltip ) ; labelTooltip.reconfigure ( ) ; contentWidgetContainerTooltip.setText ( contentWidgetContainerConfiguredTooltip ) ; contentWidgetContainerTooltip.reconfigure ( ) ; }
Source:
public javax.ws.rs.core.Response remove ( ) { org.ovirt.engine.core.common.businessentities.VM vm = getVm ( ) ; vm.setIsoPath ( null ) ; org.ovirt.engine.core.common.action.VmManagementParametersBase parameters = new org.ovirt.engine.core.common.action.VmManagementParametersBase ( vm ) ; return performAction ( VdcActionType.UpdateVm , parameters ) ; }

Target:
public javax.ws.rs.core.Response remove ( ) { org.ovirt.engine.core.common.businessentities.VM vm = getVm ( ) ; vm.setIsoPath ( null ) ; org.ovirt.engine.core.common.action.VmManagementParametersBase parameters = new org.ovirt.engine.core.common.action.VmManagementParametersBase ( vm ) ; return performAction ( ActionType.UpdateVm , parameters ) ; }
Source:
public static java.lang.String getPluginNameForDisplayString ( java.lang.String displayString ) { org.ovirt.engine.core.common.businessentities.OpenstackNetworkPluginType pluginType = org.ovirt.engine.ui.uicommonweb.models.providers.NeutronPluginTranslator.pluginForDisplay.get ( displayString ) ; return pluginType == null ? displayString : pluginType.name ( ) ; }

Target:
public static org.ovirt.engine.core.common.businessentities.OpenstackNetworkPluginType getPluginTypeForDisplayString ( java.lang.String displayString ) { return org.ovirt.engine.ui.uicommonweb.models.providers.NeutronPluginTranslator.pluginForDisplay.get ( displayString.toLowerCase ( ) ) ; }
Source:
public void setAutoSuspend ( boolean value ) { this . vmStatic.setAutoSuspend ( value ) ; }

Target:
public java.lang.String getComment ( ) { return this . vmStatic.getComment ( ) ; }
Source:
public void passDiscardNotSupportedForDestSd ( ) { initializeCommand ( new org.ovirt.engine.core.common.businessentities.storage.DiskImage ( ) ) ; mockPassDiscardSupportedForDestSd ( new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.EngineMessage.ACTION_TYPE_FAILED_PASS_DISCARD_NOT_SUPPORTED_BY_DISK_INTERFACE ) , ImageOperation.Move ) ; org.junit.Assert.assertFalse ( command.validatePassDiscardSupportedForDestinationStorageDomain ( ) ) ; }

Target:
public void passDiscardSupportedForDestSdMoveOp ( ) { initializeCommand ( new org.ovirt.engine.core.common.businessentities.storage.DiskImage ( ) , VmEntityType.VM ) ; mockPassDiscardSupportedForDestSd ( ValidationResult.VALID , ImageOperation.Move ) ; org.junit.Assert.assertTrue ( command.validatePassDiscardSupportedForDestinationStorageDomain ( ) ) ; }
Source:
protected abstract org.ovirt.engine.core.common.action.MoveOrCopyImageGroupParameters createParameters ( org.ovirt.engine.core.compat.Guid sourceStorageDomaiGuid , org.ovirt.engine.core.compat.Guid destStorageDomaiGuid , org.ovirt.engine.core.common.businessentities.DiskImage disk ) ;

Target:
protected abstract org.ovirt.engine.core.common.action.MoveOrCopyImageGroupParameters createParameters ( org.ovirt.engine.core.compat.Guid sourceStorageDomainGuid , org.ovirt.engine.core.compat.Guid destStorageDomainGuid , org.ovirt.engine.core.common.businessentities.DiskImage disk ) ;
Source:
private void convertFailed ( ) { removeVm ( ) ; deleteV2VJob ( ) ; }

Target:
private void removeVm ( ) { runInternalAction ( VdcActionType.RemoveVm , new org.ovirt.engine.core.common.action.RemoveVmParameters ( org.ovirt.engine.core.bll.ConvertVmCommand.getVmId ( ) , true ) ) ; }
Source:
protected boolean isNicSupportedForPlugUnPlug ( ) { if ( osRepository.hasNicHotplugSupport ( org.ovirt.engine.core.bll.VmCommand.getVm ( ) . getOs ( ) , org.ovirt.engine.core.bll.VmCommand.getVm ( ) . getVdsGroupCompatibilityVersion ( ) ) ) { return true ; } return failCanDoAction ( VdcBllMessages.ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED ) ; }

Target:
protected boolean isNicSupportedForPlugUnPlug ( ) { if ( osRepository.hasNicHotplugSupport ( org.ovirt.engine.core.bll.VmCommand.getVm ( ) . getOs ( ) , org.ovirt.engine.core.bll.VmCommand.getVm ( ) . getVdsGroupCompatibilityVersion ( ) ) ) { return true ; } return failCanDoAction ( EngineMessage.ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED ) ; }
Source:
private org.ovirt.engine.core.common.action.ImportVmParameters createParametersWhenImagesExistOnTargetStorageDomain ( ) { org.ovirt.engine.core.common.action.ImportVmParameters params = new org.ovirt.engine.core.common.action.ImportVmParameters ( ) ; params.setContainerId ( vmId ) ; params.setStorageDomainId ( storageDomainId ) ; params.setClusterId ( clusterId ) ; params.setImagesExistOnTargetStorageDomain ( true ) ; return params ; }

Target:
private org.ovirt.engine.core.common.action.ImportVmParameters createParametersWhenImagesExistOnTargetStorageDomain ( ) { org.ovirt.engine.core.common.action.ImportVmParameters params = new org.ovirt.engine.core.common.action.ImportVmParameters ( ) ; params.setContainerId ( vmId ) ; params.setStorageDomainId ( org.ovirt.engine.core.bll.exportimport.ImportVMFromConfigurationCommandTest.storageDomainId ) ; params.setClusterId ( clusterId ) ; params.setImagesExistOnTargetStorageDomain ( true ) ; return params ; }
Source:
private org.ovirt.engine.core.bll.storage.pool.StoragePoolStatusHandler scheduleTimeout ( ) { java.lang.Integer timeout = org.ovirt.engine.core.common.config.Config.< java.lang.Integer > getValue ( ConfigValues.StoragePoolNonOperationalResetTimeoutInMin ) ; scheduledTask = schedulerService.schedule ( this :: handleTimeout , timeout , java.util.concurrent.TimeUnit.MINUTES ) ; return this ; }

Target:
private org.ovirt.engine.core.bll.storage.pool.StoragePoolStatusHandler scheduleTimeout ( ) { scheduledTask = schedulerService.schedule ( this :: handleTimeout , org.ovirt.engine.core.common.config.Config.< java.lang.Long > getValue ( ConfigValues.StoragePoolNonOperationalResetTimeoutInMin ) , java.util.concurrent.TimeUnit.MINUTES ) ; return this ; }
Source:
protected void setHeaderTooltipStyle ( com.google.gwt.safehtml.shared.SafeHtml tooltipText ) { if ( ( tooltipText == null ) || ( tooltipText.asString ( ) . isEmpty ( ) ) ) { renderedHeaderText = this . headerText ; } else { renderedHeaderText = org.ovirt.engine.ui.common.widget.table.header.SafeHtmlHeader.templates.hasTooltip ( headerText ) ; } }

Target:
protected void setHeaderTooltipStyle ( com.google.gwt.safehtml.shared.SafeHtml tooltipText ) { if ( ( tooltipText == null ) || ( tooltipText.asString ( ) . isEmpty ( ) ) ) { renderedHeaderText = this . headerText ; } else { renderedHeaderText = templates.hasTooltip ( headerText ) ; } }
Source:
protected org.ovirt.engine.core.compat.Guid createTask ( org.ovirt.engine.core.common.asynctasks.AsyncTaskCreationInfo asyncTaskCreationInfo , org.ovirt.engine.core.common.action.VdcActionType parentCommand , org.ovirt.engine.core.common.VdcObjectType entityType , org.ovirt.engine.core.compat.Guid ... entityIds ) { return createTask ( asyncTaskCreationInfo , parentCommand , null , entityType , entityIds ) ; }

Target:
private org.ovirt.engine.core.compat.Guid createTaskImpl ( org.ovirt.engine.core.compat.Guid taskId , org.ovirt.engine.core.common.asynctasks.AsyncTaskCreationInfo asyncTaskCreationInfo , org.ovirt.engine.core.common.action.VdcActionType parentCommand , java.lang.String description , org.ovirt.engine.core.common.VdcObjectType entityType , org.ovirt.engine.core.compat.Guid ... entityIds ) { return createTaskImpl ( taskId , asyncTaskCreationInfo , parentCommand , description , createEntitiesMapForSingleEntityType ( entityType , entityIds ) ) ; }
Source:
protected java.util.Map < org.ovirt.engine.core.compat.Guid , java.lang.String > getExclusiveLocks ( ) { return java.util.Collections.singletonMap ( org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand.getStorageDomainId ( ) . getValue ( ) , getClass ( ) . getName ( ) ) ; }

Target:
protected java.util.Map < org.ovirt.engine.core.compat.Guid , java.lang.String > getExclusiveLocks ( ) { return java.util.Collections.singletonMap ( org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand.getStorageDomainId ( ) . getValue ( ) , LockingGroup.STORAGE.name ( ) ) ; }
Source:
public boolean checkProxyHostConnectionToHost ( ) { return runFencingAction ( FenceActionType.Status ) . getSucceeded ( ) ; }

Target:
public boolean checkProxyHostConnectionToHost ( ) { return runFencingAction ( FenceActionType.Status , FenceAgentOrder.Primary ) . getSucceeded ( ) ; }
Source:
private void assertMacAddressFormatValidation ( java.lang.String macAddress , java.lang.Class < ? > validationGroup , boolean shouldValidationFail ) { assertNicValidation ( createNic ( macAddress , org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.VALID_NIC_NAME , org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.VALID_NIC_TYPE ) , validationGroup , shouldValidationFail , VmNetworkInterface.VALIDATION_MESSAGE_MAC_ADDRESS_INVALID ) ; }

Target:
private static void assertMacAddressFormatValidation ( java.lang.String macAddress , java.lang.Class < ? > validationGroup , boolean shouldValidationFail ) { org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.assertNicValidation ( org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.createNic ( macAddress , org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.VALID_NIC_NAME , org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.VALID_NIC_TYPE ) , validationGroup , shouldValidationFail , VmNetworkInterface.VALIDATION_MESSAGE_MAC_ADDRESS_INVALID ) ; }
Source:
public org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient createClient ( org.ovirt.vdsm.jsonrpc.client.reactors.Reactor reactor , java.nio.channels.Selector selector , java.lang.String hostname , int port ) throws org.ovirt.vdsm.jsonrpc.client.ClientConnectionException { return new org.ovirt.vdsm.jsonrpc.client.reactors.stomp.SSLStompClient ( reactor , selector , hostname , port , this . sslContext ) ; }

Target:
public org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient createClient ( org.ovirt.vdsm.jsonrpc.client.reactors.Reactor reactor , java.nio.channels.Selector selector , java.lang.String hostname , int port , org.ovirt.vdsm.jsonrpc.client.reactors.SSLClient.CertCallback certCallback ) throws org.ovirt.vdsm.jsonrpc.client.ClientConnectionException { return new org.ovirt.vdsm.jsonrpc.client.reactors.stomp.SSLStompClient ( reactor , selector , hostname , port , this . sslContext , certCallback ) ; }
Source:
protected void setContent ( com.google.gwt.user.client.ui.Widget content ) { getTabPanel ( ) . setTabContent ( content ) ; }

Target:
public void changeTab ( com.gwtplatform.mvp.client.Tab tab , com.gwtplatform.mvp.client.TabData tabData , java.lang.String historyToken ) { getTabPanel ( ) . changeTab ( tab , tabData , historyToken ) ; }
Source:
private void doFinish ( ) { windowModel.StopProgress ( ) ; cancel ( ) ; ForceRefresh ( ) ; }

Target:
private void doFinish ( ) { windowModel.stopProgress ( ) ; cancel ( ) ; forceRefresh ( ) ; }
Source:
public void Executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.gluster.ReplaceBrickModel localModel = ( ( org.ovirt.engine.ui.uicommonweb.models.gluster.ReplaceBrickModel ) ( result.getState ( ) ) ) ; localModel.StopProgress ( ) ; setWindow ( null ) ; }

Target:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.gluster.ReplaceBrickModel localModel = ( ( org.ovirt.engine.ui.uicommonweb.models.gluster.ReplaceBrickModel ) ( result.getState ( ) ) ) ; localModel.StopProgress ( ) ; setWindow ( null ) ; }
Source:
public void Connect ( ) { }

Target:
public void Connect ( ) { org.ovirt.engine.ui.common.uicommon.RdpConnector connector = new org.ovirt.engine.ui.common.uicommon.RdpConnector ( getAddress ( ) , getDisconnectedEvent ( ) ) ; connector.setRedirectDrives ( getUseLocalDrives ( ) ) ; connector.connect ( ) ; }
Source:
public java.lang.String getdescription ( ) { return this . getvm_description ( ) ; }

Target:
public boolean getAllowConsoleReconnect ( ) { return this . vmStatic.isAllowConsoleReconnect ( ) ; }
Source:
public static void RunMultipleActions ( org.ovirt.engine.core.common.action.VdcActionType actionType , java.util.List < org.ovirt.engine.core.common.action.VdcActionParametersBase > parameters , java.util.List < org.ovirt.engine.ui.uicompat.IFrontendActionAsyncCallback > callbacks ) { org.ovirt.engine.ui.frontend.Frontend.RunMultipleActions ( actionType , parameters , callbacks , null ) ; }

Target:
public void runMultipleActions ( final org.ovirt.engine.core.common.action.VdcActionType actionType , final java.util.List < org.ovirt.engine.core.common.action.VdcActionParametersBase > parameters , final java.util.List < org.ovirt.engine.ui.uicompat.IFrontendActionAsyncCallback > callbacks ) { runMultipleActions ( actionType , parameters , callbacks , null ) ; }
Source:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.GetTasksStatusesByTasksIDsQuery.getQueryReturnValue ( ) . setReturnValue ( org.ovirt.engine.core.bll.tasks.AsyncTaskManager.getInstance ( ) . pollTasks ( org.ovirt.engine.core.bll.GetTasksStatusesByTasksIDsQuery.getParameters ( ) . getTasksIDs ( ) ) ) ; }

Target:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.GetTasksStatusesByTasksIDsQuery.getQueryReturnValue ( ) . setReturnValue ( org.ovirt.engine.core.bll.tasks.TaskManagerUtil.pollTasks ( org.ovirt.engine.core.bll.GetTasksStatusesByTasksIDsQuery.getParameters ( ) . getTasksIDs ( ) ) ) ; }
Source:
public void update ( int index , org.ovirt.engine.core.common.businessentities.QuotaVdsGroup object , java.lang.String value ) { model.editQuotaCluster ( object ) ; }

Target:
public void update ( int index , org.ovirt.engine.core.common.businessentities.QuotaCluster object , java.lang.String value ) { model.editQuotaCluster ( object ) ; }
Source:
protected java.lang.String composeRegex ( ) { return ( ( start ( ) ) + ( hostnameOrIp ( ) ) ) + ( end ( ) ) ; }

Target:
protected java.lang.String composeRegex ( ) { return ( ( start ( ) ) + ( acceptEmptyInput ? hostnameOrIpOrEmpty ( ) : hostnameOrIp ( ) ) ) + ( end ( ) ) ; }
Source:
public org.ovirt.engine.core.common.action.VdcReturnValueBase Login ( java.lang.String userName , java.lang.String password , java.lang.String profileName , org.ovirt.engine.core.common.action.VdcActionType loginType ) ;

Target:
public org.ovirt.engine.core.common.action.VdcReturnValueBase login ( java.lang.String userName , java.lang.String password , java.lang.String profileName , org.ovirt.engine.core.common.action.VdcActionType loginType ) ;
Source:
protected void ExecuteVdsIdCommand ( ) { if ( ( _vdsManager ) != null ) { _vdsManager.failedToRunVm ( org.ovirt.engine.core.vdsbroker.FailedToRunVmVDSCommand.getVds ( ) ) ; } else { org.ovirt.engine.core.vdsbroker.FailedToRunVmVDSCommand.getVDSReturnValue ( ) . setSucceeded ( false ) ; } }

Target:
protected void executeVdsIdCommand ( ) { if ( ( _vdsManager ) != null ) { _vdsManager.failedToRunVm ( org.ovirt.engine.core.vdsbroker.FailedToRunVmVDSCommand.getVds ( ) ) ; } else { org.ovirt.engine.core.vdsbroker.FailedToRunVmVDSCommand.getVDSReturnValue ( ) . setSucceeded ( false ) ; } }
Source:
org.ovirt.engine.core.common.businessentities.EngineBackupLog getLastSuccessfulEngineBackup ( java.lang.String dbName ) ;

Target:
org.ovirt.engine.core.common.businessentities.EngineBackupLog getLastSuccessfulEngineBackup ( java.lang.String scope ) ;
Source:
public void setCpuOverCommitTimestamp ( java.util.Date value ) { mVdsDynamic.setcpu_over_commit_time_stamp ( value ) ; }

Target:
public java.util.Set < org.ovirt.engine.core.common.businessentities.VmRngDevice.Source > getSupportedRngSources ( ) { return mVdsDynamic.getSupportedRngSources ( ) ; }
Source:
public void configure ( org.ovirt.engine.ui.uicommonweb.models.vms.ISpice spice ) { super . configure ( spice ) ; updateWanColorDepthOptions ( spice ) ; updateWANDisableEffects ( spice ) ; }

Target:
public void configure ( org.ovirt.engine.ui.uicommonweb.models.vms.ConsoleClient spice ) { super . configure ( spice ) ; updateWanColorDepthOptions ( spice ) ; updateWANDisableEffects ( spice ) ; }
Source:
public org.ovirt.engine.core.bll.ValidationResult clusterNetworkNotUsedByVms ( ) { return networkNotUsed ( org.ovirt.engine.core.bll.network.cluster.DetachNetworkToVdsGroupCommand.DetachNetworkValidator.getVmStaticDAO ( ) . getAllByGroupAndNetworkName ( networkCluster.getClusterId ( ) , network.getName ( ) ) , VdcBllMessages.VAR__ENTITIES__VMS ) ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult clusterNetworkNotUsedByVms ( ) { return networkNotUsed ( org.ovirt.engine.core.bll.network.cluster.DetachNetworkToVdsGroupCommand.DetachNetworkValidator.getVmStaticDAO ( ) . getAllByGroupAndNetworkName ( networkCluster.getClusterId ( ) , network.getName ( ) ) , VdcBllMessages.VAR__ENTITIES__VMS , VdcBllMessages.VAR__ENTITIES__VM ) ; }
Source:
protected void updateModel ( org.ovirt.engine.ui.uicommonweb.models.vms.ISpice spice , boolean value ) { spice.setIsWanOptionsEnabled ( value ) ; }

Target:
protected void updateModel ( org.ovirt.engine.ui.uicommonweb.models.vms.ISpice spice , boolean value ) { spice.setWanOptionsEnabled ( value ) ; }
Source:
void localize ( org.ovirt.engine.ui.common.CommonApplicationConstants constants ) { allButton.setText ( constants.allDisksLabel ( ) ) ; imagesButton.setText ( constants.imageDisksLabel ( ) ) ; lunsButton.setText ( constants.lunDisksLabel ( ) ) ; }

Target:
void localize ( ) { allButton.setText ( org.ovirt.engine.ui.common.widget.uicommon.disks.DisksViewRadioGroup.constants.allDisksLabel ( ) ) ; imagesButton.setText ( org.ovirt.engine.ui.common.widget.uicommon.disks.DisksViewRadioGroup.constants.imageDisksLabel ( ) ) ; lunsButton.setText ( org.ovirt.engine.ui.common.widget.uicommon.disks.DisksViewRadioGroup.constants.lunDisksLabel ( ) ) ; }
Source:
public java.util.Set < java.lang.String > getConsumedEvents ( ) { return consumedEvents ; }

Target:
public void setTitle ( java.lang.String title ) { tooltipPanel.setText ( title ) ; }
Source:
public void testGetAllForUser ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.Tags > result = dao.getAllForUsers ( user.getUuid ( ) . toString ( ) ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertFalse ( result.isEmpty ( ) ) ; }

Target:
public void testGetAllForUser ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.Tags > result = dao.getAllForUsers ( user.getUuid ( ) . toString ( ) ) ; org.junit.jupiter.api.Assertions.assertNotNull ( result ) ; org.junit.jupiter.api.Assertions.assertFalse ( result.isEmpty ( ) ) ; }
Source:
public void canDoActionFailsWithForceNotSupported ( ) { cmd = org.mockito.Mockito.spy ( createTestCommand ( volumeId1 , getBricks ( volumeId1 , 2 ) , 0 , 4 , true ) ) ; prepareMocks ( cmd ) ; org.ovirt.engine.core.bll.CanDoActionTestUtils.runAndAssertCanDoActionFailure ( cmd , VdcBllMessages.ACTION_TYPE_FAILED_GLUSTER_VOLUME_ADD_BRICK_FORCE_NOT_SUPPORTED ) ; }

Target:
public void canDoActionFailsWithForceNotSupported ( ) { cmd = org.mockito.Mockito.spy ( createTestCommand ( volumeId1 , getBricks ( volumeId1 , 2 ) , 0 , 4 , true ) ) ; prepareMocks ( cmd ) ; org.ovirt.engine.core.bll.CanDoActionTestUtils.runAndAssertCanDoActionFailure ( cmd , EngineMessage.ACTION_TYPE_FAILED_GLUSTER_VOLUME_ADD_BRICK_FORCE_NOT_SUPPORTED ) ; }
Source:
public void setFadeText ( java.lang.String text ) { statusLabel.setFadeText ( text ) ; }

Target:
public void setTextAndStyle ( java.lang.String text , java.lang.String backgroundStyle , java.lang.String foregroundStyle ) { this . backgroundStyle = backgroundStyle ; this . foregroundStyle = foregroundStyle ; statusLabel.setFadeText ( text ) ; }
Source:
public static java.lang.Integer getMinMemorySizeInMb ( int osId , org.ovirt.engine.core.compat.Version version ) { return org.ovirt.engine.core.bll.validator.VmValidationUtils.getOsRepository ( ) . getMinimumRam ( osId , version ) ; }

Target:
public java.lang.Integer getMinMemorySizeInMb ( int osId , org.ovirt.engine.core.compat.Version version ) { return osRepository.getMinimumRam ( osId , version ) ; }
Source:
private void handleAuthenticationException ( org.ovirt.engine.extensions.aaa.builtin.kerberosldap.LdapSearchExceptionHandlingResponse response ) { org.ovirt.engine.extensions.aaa.builtin.kerberosldap.LdapSearchExceptionHandler.log.error ( "Ldap authentication failed. Please check that the login name , password and path are correct. " ) ; org.ovirt.engine.extensions.aaa.builtin.kerberosldap.AuthenticationResultException ex = new org.ovirt.engine.extensions.aaa.builtin.kerberosldap.AuthenticationResultException ( org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos.AuthenticationResult.OTHER ) ; response.setOrderingAlgorithm ( OrderingAlgorithmType.NO_OP ) . setTranslatedException ( ex ) . setTryNextServer ( false ) ; }

Target:
private void handleAuthenticationException ( org.ovirt.engine.extensions.aaa.builtin.kerberosldap.LdapSearchExceptionHandlingResponse response ) { org.ovirt.engine.extensions.aaa.builtin.kerberosldap.LdapSearchExceptionHandler.log.error ( "Ldap authentication failed. Please check that the login name, password and path are correct." ) ; org.ovirt.engine.extensions.aaa.builtin.kerberosldap.AuthenticationResultException ex = new org.ovirt.engine.extensions.aaa.builtin.kerberosldap.AuthenticationResultException ( org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos.AuthenticationResult.OTHER ) ; response.setOrderingAlgorithm ( OrderingAlgorithmType.NO_OP ) . setTranslatedException ( ex ) . setTryNextServer ( false ) ; }
Source:
public void persistCommand ( org.ovirt.engine.core.common.businessentities.CommandEntity cmdEntity , org.ovirt.engine.core.bll.context.CommandContext cmdContext ) { if ( org.ovirt.engine.core.compat.Guid.isNullOrEmpty ( cmdEntity.getId ( ) ) ) { return ; } persistCommand ( cmdEntity ) ; saveCommandContext ( cmdEntity.getId ( ) , cmdContext ) ; }

Target:
public void persistCommand ( org.ovirt.engine.core.common.businessentities.CommandEntity cmdEntity , org.ovirt.engine.core.bll.context.CommandContext cmdContext ) { initChildHierarchy ( ) ; if ( org.ovirt.engine.core.compat.Guid.isNullOrEmpty ( cmdEntity.getId ( ) ) ) { return ; } persistCommand ( cmdEntity ) ; saveCommandContext ( cmdEntity.getId ( ) , cmdContext ) ; }
Source:
private void mockDiskSao ( final org.ovirt.engine.core.dao.DiskDao diskDAO ) { org.ovirt.engine.core.searchbackend.SearchObjectAutoCompleter search = new org.ovirt.engine.core.searchbackend.SearchObjectAutoCompleter ( ) ; org.mockito.Mockito.when ( diskDAO.getAllWithQuery ( org.mockito.Matchers.matches ( org.ovirt.engine.core.bll.SearchQueryTest.getDiskImageRegexString ( search ) ) ) ) . thenReturn ( diskImageResultList ) ; }

Target:
private void mockDiskSao ( final org.ovirt.engine.core.dao.DiskDao diskDao ) { org.ovirt.engine.core.searchbackend.SearchObjectAutoCompleter search = new org.ovirt.engine.core.searchbackend.SearchObjectAutoCompleter ( ) ; org.mockito.Mockito.when ( diskDao.getAllWithQuery ( org.mockito.Matchers.matches ( org.ovirt.engine.core.bll.SearchQueryTest.getDiskImageRegexString ( search ) ) ) ) . thenReturn ( diskImageResultList ) ; }
Source:
protected boolean setAndValidateCpuProfile ( ) { return validate ( org.ovirt.engine.core.bll.profiles.CpuProfileHelper.setAndValidateCpuProfile ( org.ovirt.engine.core.bll.CommonVmPoolWithVmsCommand.getParameters ( ) . getVmStaticData ( ) , org.ovirt.engine.core.bll.CommonVmPoolWithVmsCommand.getVdsGroup ( ) . getCompatibilityVersion ( ) , org.ovirt.engine.core.bll.CommonVmPoolWithVmsCommand.getUserId ( ) ) ) ; }

Target:
protected boolean setAndValidateCpuProfile ( ) { return validate ( cpuProfileHelper.setAndValidateCpuProfile ( org.ovirt.engine.core.bll.CommonVmPoolWithVmsCommand.getParameters ( ) . getVmStaticData ( ) , org.ovirt.engine.core.bll.CommonVmPoolWithVmsCommand.getVdsGroup ( ) . getCompatibilityVersion ( ) , org.ovirt.engine.core.bll.CommonVmPoolWithVmsCommand.getUserId ( ) ) ) ; }
Source:
public org.ovirt.engine.core.bll.ValidationResult isDiskUsedAsOvfStore ( ) { if ( disk.isOvfStore ( ) ) { return new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.VdcBllMessages.ACTION_TYPE_FAILED_OVF_DISK_NOT_SUPPORTED ) ; } return org.ovirt.engine.core.bll.ValidationResult.VALID ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult isDiskUsedAsOvfStore ( ) { if ( disk.isOvfStore ( ) ) { return new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.EngineMessage.ACTION_TYPE_FAILED_OVF_DISK_NOT_SUPPORTED ) ; } return org.ovirt.engine.core.bll.ValidationResult.VALID ; }
Source:
public void testGetFullPathNonSaneParameter ( ) { java.io.File file = testServlet.getFile ( mockFile , "../something" ) ; org.junit.Assert.assertNull ( "Path should be null" , file ) ; }

Target:
public void testGetFullPathNonSaneParameter ( ) { java.io.File file = testServlet.getFile ( mockFile , "../something" ) ; org.junit.jupiter.api.Assertions.assertNull ( file , "Path should be null" ) ; }
Source:
protected void onEntityChanged ( ) { super . onEntityChanged ( ) ; if ( ( getEntity ( ) ) != null ) { UpdateVolumeDetails ( ) ; updateAlerts ( ) ; updateConsoleAddressPartiallyOverridden ( getEntity ( ) ) ; updateProperties ( ) ; } }

Target:
protected void onEntityChanged ( ) { super . onEntityChanged ( ) ; if ( ( getEntity ( ) ) != null ) { updateVolumeDetails ( ) ; updateAlerts ( ) ; updateConsoleAddressPartiallyOverridden ( getEntity ( ) ) ; updateProperties ( ) ; } }
Source:
protected void executeCommand ( ) { org.ovirt.engine.core.common.businessentities.vm_pools vmPool = org.ovirt.engine.core.bll.AddVmPoolCommand.getVmPool ( ) ; org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVmPoolDAO ( ) . save ( vmPool ) ; setActionReturnValue ( vmPool.getvm_pool_id ( ) ) ; org.ovirt.engine.core.bll.AddVmPoolCommand.setSucceeded ( true ) ; }

Target:
protected void executeCommand ( ) { org.ovirt.engine.core.common.businessentities.vm_pools vmPool = org.ovirt.engine.core.bll.AddVmPoolCommand.getVmPool ( ) ; org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVmPoolDao ( ) . save ( vmPool ) ; setActionReturnValue ( vmPool.getvm_pool_id ( ) ) ; org.ovirt.engine.core.bll.AddVmPoolCommand.setSucceeded ( true ) ; }
Source:
protected void RemoveVmDynamic ( ) { getVmDynamicDAO ( ) . remove ( org.ovirt.engine.core.bll.VmCommand.getVmId ( ) ) ; }

Target:
protected void removeVmDynamic ( ) { getVmDynamicDAO ( ) . remove ( org.ovirt.engine.core.bll.VmCommand.getVmId ( ) ) ; }
Source:
private void updateCpuProfile ( org.ovirt.engine.core.compat.Guid clusterId , org.ovirt.engine.core.compat.Guid cpuProfileId ) { testAllCpuProfileValuesEqualTo ( clusterId , cpuProfileId , false ) ; dao.updateVmCpuProfileIdForClusterId ( clusterId , cpuProfileId ) ; testAllCpuProfileValuesEqualTo ( clusterId , cpuProfileId , true ) ; }

Target:
public void testUpdateVmCpuProfileIdForClusterId ( ) { org.ovirt.engine.core.compat.Guid clusterId = FixturesTool.CLUSTER_RHEL6_ISCSI ; org.ovirt.engine.core.compat.Guid cpuProfileId = FixturesTool.CPU_PROFILE_2 ; testAllCpuProfileValuesEqualTo ( clusterId , cpuProfileId , false ) ; dao.updateVmCpuProfileIdForClusterId ( clusterId , cpuProfileId ) ; testAllCpuProfileValuesEqualTo ( clusterId , cpuProfileId , true ) ; }
Source:
public java.util.ArrayList < org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalItemModel > GetStatusUpVms ( java.lang.Iterable items ) { return GetUpVms ( items , true ) ; }

Target:
public java.util.ArrayList < org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalItemModel > getStatusUpVms ( java.lang.Iterable items ) { return getUpVms ( items , true ) ; }
Source:
private void logHostCannotBeProxy ( java.lang.String hostName ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase logable = new org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase ( ) ; logable.addCustomValue ( "VdsName" , hostName ) ; auditLogDirector.log ( logable , AuditLogType.IMPORTEXPORT_HOST_CANNOT_SERVE_AS_PROXY ) ; }

Target:
private void logHostCannotBeProxy ( java.lang.String hostName ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase logable = org.ovirt.engine.core.di.Injector.injectMembers ( new org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase ( ) ) ; logable.addCustomValue ( "VdsName" , hostName ) ; auditLogDirector.log ( logable , AuditLogType.IMPORTEXPORT_HOST_CANNOT_SERVE_AS_PROXY ) ; }
Source:
public java.lang.Void runInTransaction ( ) { getDbFacade ( ) . getVdsCpuStatisticsDAO ( ) . removeAllCpuStatisticsByVdsId ( vds.getId ( ) ) ; getDbFacade ( ) . getVdsCpuStatisticsDAO ( ) . massSaveCpuStatistics ( cpuStatisticsToSave , vds.getId ( ) ) ; return null ; }

Target:
public java.lang.Void runInTransaction ( ) { getDbFacade ( ) . getVdsCpuStatisticsDao ( ) . removeAllCpuStatisticsByVdsId ( vds.getId ( ) ) ; getDbFacade ( ) . getVdsCpuStatisticsDao ( ) . massSaveCpuStatistics ( cpuStatisticsToSave , vds.getId ( ) ) ; return null ; }
Source:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.webadmin.ApplicationConstants applicationConstants , org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < java.util.Map < java.lang.String , java.lang.String > , org.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel < java.lang.Void > , org.ovirt.engine.ui.uicommonweb.models.hosts.HostHooksListModel > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( applicationConstants.hostHookSubTabLabel ( ) , 3 , modelProvider ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < java.util.Map < java.lang.String , java.lang.String > , org.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel < java.lang.Void > , org.ovirt.engine.ui.uicommonweb.models.hosts.HostHooksListModel > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( org.ovirt.engine.ui.webadmin.section.main.presenter.tab.host.SubTabHostHookPresenter.constants.hostHookSubTabLabel ( ) , 3 , modelProvider ) ; }
Source:
protected void updateTemplateDisksFromDb ( org.ovirt.engine.core.common.businessentities.VmTemplate template ) { org.ovirt.engine.core.bll.VmTemplateHandler.updateDisksFromDb ( template ) ; }

Target:
protected void updateTemplateDisksFromDb ( org.ovirt.engine.core.common.businessentities.VmTemplate template ) { vmTemplateHandler.updateDisksFromDb ( template ) ; }
Source:
public void log ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase auditLogable , org.ovirt.engine.core.common.AuditLogType logType ) { log ( auditLogable , logType , "" ) ; }

Target:
public static void log ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase auditLogable , org.ovirt.engine.core.common.AuditLogType logType ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log ( auditLogable , logType , "" ) ; }
Source:
protected void endWithFailure ( ) { updateOldImageActive ( SnapshotType.ACTIVE , true ) ; org.ovirt.engine.core.bll.TryBackToSnapshotCommand.undoActionOnSourceAndDestination ( ) ; org.ovirt.engine.core.bll.TryBackToSnapshotCommand.setSucceeded ( true ) ; }

Target:
protected void endWithFailure ( ) { updateOldImageAsActive ( SnapshotType.ACTIVE , true ) ; org.ovirt.engine.core.bll.TryBackToSnapshotCommand.undoActionOnSourceAndDestination ( ) ; org.ovirt.engine.core.bll.TryBackToSnapshotCommand.setSucceeded ( true ) ; }
Source:
public org.ovirt.engine.core.common.businessentities.DbUser getUser ( boolean refresh ) { return ( ( org.ovirt.engine.core.common.businessentities.DbUser ) ( getData ( org.ovirt.engine.core.bll.session.SessionDataContainer.USER_PARAMETER_NAME , refresh ) ) ) ; }

Target:
public org.ovirt.engine.core.common.businessentities.DbUser getUser ( boolean refresh ) { return ( ( org.ovirt.engine.core.common.businessentities.DbUser ) ( getData ( org.ovirt.engine.core.utils.ThreadLocalParamsContainer.getHttpSessionId ( ) , org.ovirt.engine.core.bll.session.SessionDataContainer.USER_PARAMETER_NAME , refresh ) ) ) ; }
Source:
public static org.ovirt.engine.core.common.businessentities.network.VmInterfaceType getDefaultNicType ( ) { return org.ovirt.engine.core.common.businessentities.network.VmInterfaceType.pv ; }

Target:
public static boolean isSerialNumberPolicySupported ( java.lang.String version ) { return ( ( java.lang.Boolean ) ( org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getConfigValuePreConverted ( ConfigurationValues.SerialNumberPolicySupported , version ) ) ) ; }
Source:
public void setForceLabelMessage ( java.lang.String forceLabelMessage ) { forceEditor.setLabel ( ( forceLabelMessage == null ? constants.notAvailableLabel ( ) : forceLabelMessage ) ) ; forceEditor.setVisible ( ( forceLabelMessage != null ) ) ; }

Target:
public void setForceLabelMessage ( java.lang.String forceLabelMessage ) { boolean isNonEmptyForceLabelMessage = forceLabelMessage != null ; if ( isNonEmptyForceLabelMessage ) { forceEditor.setLabel ( forceLabelMessage ) ; } forceEditor.setVisible ( isNonEmptyForceLabelMessage ) ; }
Source:
public java.lang.Void runInTransaction ( ) { AddDiskImageToDb ( mNewCreatedDiskImage , getCompensationContext ( ) ) ; return null ; }

Target:
public java.lang.Void runInTransaction ( ) { addDiskImageToDb ( mNewCreatedDiskImage , getCompensationContext ( ) ) ; return null ; }
Source:
public void debug ( java.lang.Object arg0 , java.lang.Throwable arg1 ) { if ( isDebugEnabled ( ) ) { log.debug ( addPrefixToLogMessage ( arg0 ) , arg1 ) ; } }

Target:
public void debug ( java.lang.Object msg , java.lang.Throwable t ) { if ( isDebugEnabled ( ) ) { log.debug ( addPrefixToLogMessage ( msg ) , t ) ; } }
Source:
public void setKeyPair ( java.security.KeyPair keyPair ) { this . keyPair = keyPair ; }

Target:
public void setKeyPair ( java.security.KeyPair keyPair ) { _keyPair = keyPair ; }