auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void validNetworkWhenNoPortMirroring ( ) throws java.lang.Exception { portMirroringTest ( ValidationResult.VALID , "net" , false ) ; }

Target:
public void validNetworkWhenNoPortMirroring ( ) throws java.lang.Exception { portMirroringTest ( org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) , "net" , false ) ; }
Source:
public void diskSnapshotsDontExist ( ) { org.junit.Assert.assertThat ( validator.diskSnapshotsNotExist ( java.util.Arrays.asList ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.ACTION_TYPE_FAILED_DISK_SNAPSHOTS_NOT_EXIST ) ) ; }

Target:
public void diskSnapshotsDontExist ( ) { org.junit.Assert.assertThat ( validator.diskSnapshotsNotExist ( java.util.Collections.singletonList ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.ACTION_TYPE_FAILED_DISK_SNAPSHOTS_NOT_EXIST ) ) ; }
Source:
public java.lang.String getclient_ip ( ) { return this . client_ip ; }

Target:
public void setClientIp ( java.lang.String value ) { this . clientIp = value ; }
Source:
protected void ExecuteVdsBrokerCommand ( ) { result = org.ovirt.engine.core.vdsbroker.gluster.GetGlusterVolumeOptionsInfoVDSCommand.getBroker ( ) . glusterVolumeSetOptionsList ( ) ; org.ovirt.engine.core.vdsbroker.gluster.GetGlusterVolumeOptionsInfoVDSCommand.ProceedProxyReturnValue ( ) ; setReturnValue ( result.optionsHelpSet ) ; }

Target:
protected void ExecuteVdsBrokerCommand ( ) { result = org.ovirt.engine.core.vdsbroker.gluster.GetGlusterVolumeOptionsInfoVDSCommand.getBroker ( ) . glusterVolumeSetOptionsList ( ) ; org.ovirt.engine.core.vdsbroker.gluster.GetGlusterVolumeOptionsInfoVDSCommand.proceedProxyReturnValue ( ) ; setReturnValue ( result.optionsHelpSet ) ; }
Source:
public void setStorageDomain ( java.lang.String value ) { if ( ! ( org.ovirt.engine.core.common.utils.ObjectUtils.objectsEqual ( storageDomain , value ) ) ) { storageDomain = value ; onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "StorageDomain" ) ) ; } }

Target:
public void setStorageDomain ( java.lang.String value ) { if ( ! ( org.ovirt.engine.core.compat.StringHelper.stringsEqual ( storageDomain , value ) ) ) { storageDomain = value ; onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "StorageDomain" ) ) ; } }
Source:
public void setGrayedOutReasons ( java.util.ArrayList < java.lang.String > value ) { if ( ( grayedOutReasons ) != value ) { grayedOutReasons = value ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "GrayedOutReasons" ) ) ; } }

Target:
public void setGrayedOutReasons ( java.util.ArrayList < java.lang.String > value ) { if ( ( grayedOutReasons ) != value ) { grayedOutReasons = value ; OnPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "GrayedOutReasons" ) ) ; } }
Source:
public void remove ( org.ovirt.engine.core.compat.Guid id ) { getCallsHandler ( ) . executeModification ( "DeleteVmTemplates" , getCustomMapSqlParameterSource ( ) . addValue ( "vmt_guid" , id ) ) ; }

Target:
protected org.springframework.jdbc.core.namedparam.MapSqlParameterSource createIdParameterMapper ( org.ovirt.engine.core.compat.Guid id ) { return getCustomMapSqlParameterSource ( ) . addValue ( "vmt_guid" , id ) ; }
Source:
private static int compareSequence ( java.lang.String seq1 , java.lang.String seq2 , boolean digitSequence ) { return digitSequence ? org.ovirt.engine.core.common.utils.LexoNumericComparator.compDigitSequence ( seq1 , seq2 ) : org.ovirt.engine.core.common.utils.LexoNumericComparator.compNonDigitSequence ( seq1 , seq2 ) ; }

Target:
private static int compareSequence ( java.lang.String seq1 , java.lang.String seq2 , boolean digitSequence ) { return digitSequence ? org.ovirt.engine.core.common.businessentities.comparators.LexoNumericComparator.compDigitSequence ( seq1 , seq2 ) : org.ovirt.engine.core.common.businessentities.comparators.LexoNumericComparator.compNonDigitSequence ( seq1 , seq2 ) ; }
Source:
protected org.ovirt.engine.api.model.HostNIC deprecatedPopulate ( org.ovirt.engine.api.model.HostNIC model , org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface entity ) { return addStatistics ( model , entity , uriInfo , httpHeaders ) ; }

Target:
protected org.ovirt.engine.api.model.HostNIC deprecatedPopulate ( org.ovirt.engine.api.model.HostNIC model , org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface entity ) { java.util.Set < java.lang.String > details = org.ovirt.engine.api.common.util.DetailHelper.getDetails ( httpHeaders , uriInfo ) ; if ( details.contains ( "statistics" ) ) { addStatistics ( model , entity ) ; } return model ; }
Source:
java.lang.String negativeTimezoneOffset ( java.lang.String name , java.lang.String hours , java.lang.String minutes ) ;

Target:
java.lang.String positiveTimezoneOffset ( java.lang.String name , java.lang.String hours , java.lang.String minutes ) ;
Source:
protected org.ovirt.engine.core.common.businessentities.VDSGroup getVdsGroupEntity ( ) { org.ovirt.engine.core.common.businessentities.VDSGroup cluster = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; cluster.setArchitecture ( ArchitectureType.x86_64 ) ; cluster.setCompatibilityVersion ( org.ovirt.engine.core.compat.Version.getLast ( ) ) ; return cluster ; }

Target:
protected org.ovirt.engine.core.common.businessentities.VDSGroup getVdsGroupEntity ( ) { org.ovirt.engine.core.common.businessentities.VDSGroup cluster = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; cluster.setStoragePoolId ( GUIDS [ 3 ] ) ; cluster.setArchitecture ( ArchitectureType.x86_64 ) ; cluster.setCompatibilityVersion ( org.ovirt.engine.core.compat.Version.getLast ( ) ) ; return cluster ; }
Source:
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 ( ) ) ) ; }

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.getUserIdIfExternal ( ) ) ) ; }
Source:
public void checkExecuteCommandWithEmptyVdsId ( ) { parameters.setStorageServerConnection ( NFSConnection ) ; parameters.setVdsId ( Guid.Empty ) ; command.executeCommand ( ) ; org.mockito.Mockito.verify ( command , org.mockito.Mockito.never ( ) ) . disconnectStorage ( ) ; }

Target:
public void checkExecuteCommandWithEmptyVdsId ( ) { parameters.setStorageServerConnection ( org.ovirt.engine.core.bll.storage.connection.RemoveStorageServerConnectionCommandTest.NFSConnection ) ; parameters.setVdsId ( Guid.Empty ) ; command.executeCommand ( ) ; org.mockito.Mockito.verify ( command , org.mockito.Mockito.never ( ) ) . disconnectStorage ( ) ; }
Source:
public org.ovirt.engine.core.bll.ValidationResult uuidNotEmpty ( ) { return org.ovirt.engine.core.bll.ValidationResult.failWith ( VdcBllMessages.LIBVIRT_SECRET_UUID_CANNOT_BE_EMPTY ) . when ( org.apache.commons.lang.StringUtils.isEmpty ( libvirtSecret.getId ( ) . toString ( ) ) ) ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult uuidNotEmpty ( ) { return org.ovirt.engine.core.bll.ValidationResult.failWith ( EngineMessage.LIBVIRT_SECRET_UUID_CANNOT_BE_EMPTY ) . when ( org.apache.commons.lang.StringUtils.isEmpty ( libvirtSecret.getId ( ) . toString ( ) ) ) ; }
Source:
public java.lang.String value ( ) { return name ( ) ; }

Target:
public java.lang.String value ( ) { return name ( ) . toLowerCase ( ) ; }
Source:
public void testSave ( ) { org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession newSession = getGlusterGeoRepSession ( ) ; dao.save ( newSession ) ; org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession session = dao.getById ( newSession.getId ( ) ) ; org.junit.Assert.assertEquals ( newSession , session ) ; }

Target:
public void testSave ( ) { org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession newSession = getGlusterGeoRepSession ( ) ; dao.save ( newSession ) ; org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession session = dao.getById ( newSession.getId ( ) ) ; org.junit.jupiter.api.Assertions.assertEquals ( newSession , session ) ; }
Source:
public boolean attemptFallbackProtocol ( ) { vds.setProtocol ( VdsProtocol.XML ) ; org.ovirt.engine.core.vdsbroker.ResourceManager.getInstance ( ) . AddVds ( vds , false ) ; return attemptConnection ( ) ; }

Target:
public boolean attemptFallbackProtocol ( ) { vds.setProtocol ( VdsProtocol.XML ) ; resourceManager.AddVds ( vds , false ) ; return attemptConnection ( ) ; }
Source:
private org.ovirt.engine.ui.uicommonweb.UICommand getOnSaveCommand ( ) { return org.ovirt.engine.ui.uicommonweb.UICommand.createDefaultOkUiCommand ( "OnSave" , this ) ; }

Target:
private org.ovirt.engine.ui.uicommonweb.UICommand getOnSaveCommand ( ) { org.ovirt.engine.ui.uicommonweb.UICommand onSaveCommand = org.ovirt.engine.ui.uicommonweb.UICommand.createDefaultOkUiCommand ( "OnSave" , this ) ; return onSaveCommand ; }
Source:
public java.util.List < org.ovirt.engine.core.common.utils.Pair < org.ovirt.engine.core.compat.Guid , java.lang.Integer > > score ( org.ovirt.engine.core.common.businessentities.Cluster cluster , java.util.List < org.ovirt.engine.core.common.businessentities.VDS > hosts , org.ovirt.engine.core.common.businessentities.VM vm , java.util.Map < java.lang.String , java.lang.String > parameters ) { return reverseEvenDistributionScore ( cluster , hosts , vm , parameters ) ; }

Target:
protected int calcHostScore ( float maxMemoryOfVdsInCluster , org.ovirt.engine.core.common.businessentities.VDS vds ) { int maxScore = ( MaxSchedulerWeight ) - 1 ; return maxScore - ( super . calcHostScore ( maxMemoryOfVdsInCluster , vds ) ) ; }
Source:
public void testValidateFailsWhenDiscardIsNotSupported ( ) { org.mockito.Mockito.when ( diskVmElementValidator.isPassDiscardSupported ( org.mockito.Matchers.any ( org.ovirt.engine.core.compat.Guid.class ) ) ) . thenReturn ( new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.EngineMessage.ACTION_TYPE_FAILED_PASS_DISCARD_NOT_SUPPORTED_BY_DISK_INTERFACE ) ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateFailure ( command , EngineMessage.ACTION_TYPE_FAILED_PASS_DISCARD_NOT_SUPPORTED_BY_DISK_INTERFACE ) ; }

Target:
public void testValidateFailsWhenDiscardIsNotSupported ( ) { org.mockito.Mockito.when ( diskVmElementValidator.isPassDiscardSupported ( org.mockito.ArgumentMatchers.any ( ) ) ) . thenReturn ( new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.EngineMessage.ACTION_TYPE_FAILED_PASS_DISCARD_NOT_SUPPORTED_BY_DISK_INTERFACE ) ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateFailure ( command , EngineMessage.ACTION_TYPE_FAILED_PASS_DISCARD_NOT_SUPPORTED_BY_DISK_INTERFACE ) ; }
Source:
java.lang.String vnicTypeDoesntMatchNonPassthroughProfile ( java.lang.String type ) ;

Target:
java.lang.String vnicTypeDoesntMatchPassthroughProfile ( java.lang.String type ) ;
Source:
private void validateIconParameters ( org.ovirt.engine.api.model.VM vm ) { if ( ! ( org.ovirt.engine.api.restapi.util.IconHelper.validateIconParameters ( vm ) ) ) { throw new org.ovirt.engine.api.restapi.resource.BaseBackendResource.WebFaultException ( null , localize ( Messages.INVALID_ICON_PARAMETERS ) , Response.Status.BAD_REQUEST ) ; } }

Target:
private void validateIconParameters ( org.ovirt.engine.api.model.Vm vm ) { if ( ! ( org.ovirt.engine.api.restapi.util.IconHelper.validateIconParameters ( vm ) ) ) { throw new org.ovirt.engine.api.restapi.resource.BaseBackendResource.WebFaultException ( null , localize ( Messages.INVALID_ICON_PARAMETERS ) , Response.Status.BAD_REQUEST ) ; } }
Source:
protected void addCanDoActionMessage ( org.ovirt.engine.core.common.errors.EngineMessage message ) { getReturnValue ( ) . getCanDoActionMessages ( ) . add ( message.name ( ) ) ; }

Target:
protected void addValidationMessage ( org.ovirt.engine.core.common.errors.EngineMessage message ) { getReturnValue ( ) . getValidationMessages ( ) . add ( message.name ( ) ) ; }
Source:
public java.lang.Void runInTransaction ( ) { org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getCommandEntityDao ( ) . updateNotified ( commandId ) ; return null ; }

Target:
public void updateCallBackNotified ( final org.ovirt.engine.core.compat.Guid commandId ) { org.ovirt.engine.core.common.businessentities.CommandEntity cmdEntity = get ( commandId ) ; if ( cmdEntity != null ) { cmdEntity.setCallBackNotified ( true ) ; org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getCommandEntityDao ( ) . updateNotified ( commandId ) ; } }
Source:
public void setTemplate ( java.lang.String value ) { if ( ! ( org.ovirt.engine.core.compat.StringHelper.stringsEqual ( template , value ) ) ) { template = value ; OnPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "Template" ) ) ; } }

Target:
public void setTemplate ( java.lang.String value ) { if ( ! ( org.ovirt.engine.core.compat.StringHelper.stringsEqual ( template , value ) ) ) { template = value ; onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "Template" ) ) ; } }
Source:
public java.util.Map < java.lang.String , java.lang.Object > shutdownHost ( int reboot ) ;

Target:
public java.util.Map < java.lang.String , java.lang.Object > glusterHostUUIDGet ( ) ;
Source:
public static org.ovirt.engine.api.model.DiskInterface map ( org.ovirt.engine.api.model.DiskInterface diskInterface , org.ovirt.engine.api.model.DiskInterface template ) { switch ( diskInterface ) { case IDE : return org.ovirt.engine.api.model.org.ovirt.engine.core.common.businessentities.DiskInterface ; case VIRTIO : return org.ovirt.engine.api.model.org.ovirt.engine.core.common.businessentities.DiskInterface ; case VIRTIO_SCSI : return org.ovirt.engine.api.model.org.ovirt.engine.core.common.businessentities.DiskInterface ; case SPAPR_VSCSI : return org.ovirt.engine.api.model.org.ovirt.engine.core.common.businessentities.DiskInterface ; default : return null ; } }

Target:
public static org.ovirt.engine.api.model.DiskInterface map ( org.ovirt.engine.api.model.DiskInterface diskInterface , org.ovirt.engine.api.model.DiskInterface template ) { switch ( diskInterface ) { case IDE : return org.ovirt.engine.api.model.org.ovirt.engine.core.common.businessentities.storage.DiskInterface ; case VIRTIO : return org.ovirt.engine.api.model.org.ovirt.engine.core.common.businessentities.storage.DiskInterface ; case VIRTIO_SCSI : return org.ovirt.engine.api.model.org.ovirt.engine.core.common.businessentities.storage.DiskInterface ; case SPAPR_VSCSI : return org.ovirt.engine.api.model.org.ovirt.engine.core.common.businessentities.storage.DiskInterface ; default : return null ; } }
Source:
protected boolean canDoAction ( ) { return ( ( validateParameters ( ) ) && ( validateNameNotExistInDC ( ) ) ) && ( validateValues ( ) ) ; }

Target:
protected boolean canDoAction ( ) { org.ovirt.engine.core.bll.validator.NetworkQosValidator validator = new org.ovirt.engine.core.bll.validator.NetworkQosValidator ( getNetworkQoS ( ) ) ; return ( ( validateParameters ( ) ) && ( validate ( validator.nameNotTakenInDc ( ) ) ) ) && ( validateValues ( ) ) ; }
Source:
public org.ovirt.engine.core.bll.ValidationResult storageDomainNotChanged ( ) { if ( org.apache.commons.lang.ObjectUtils.equals ( getDiskProfile ( ) . getStorageDomainId ( ) , getDiskProfileFromDb ( ) . getStorageDomainId ( ) ) ) { return org.ovirt.engine.core.bll.ValidationResult.VALID ; } return new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.VdcBllMessages.ACTION_TYPE_FAILED_CANNOT_CHANGE_PROFILE ) ; }

Target:
protected java.util.List < org.ovirt.engine.core.common.businessentities.profiles.DiskProfile > getProfilesByParentEntity ( ) { return getDbFacade ( ) . getDiskProfileDao ( ) . getAllForStorageDomain ( getStorageDomain ( ) . getId ( ) ) ; }
Source:
protected void verifyCollection ( java.util.List < org.ovirt.engine.api.model.StorageConnection > collection ) throws java.lang.Exception { assertNotNull ( collection ) ; assertEquals ( GUIDS.length , collection.size ( ) ) ; }

Target:
protected void verifyCollection ( java.util.List < org.ovirt.engine.api.model.StorageConnection > collection ) throws java.lang.Exception { org.junit.Assert.assertNotNull ( collection ) ; org.junit.Assert.assertEquals ( GUIDS.length , collection.size ( ) ) ; }
Source:
protected void configure ( ) { bindModels ( ) ; bindIntegration ( ) ; }

Target:
protected void configure ( ) { bindModels ( ) ; bindModelProviders ( ) ; bindIntegration ( ) ; }
Source:
public void testGetUnmanagedDeviceByVmId ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.VmDevice > devices = dao.getUnmanagedDevicesByVmId ( org.ovirt.engine.core.dao.VmDeviceDaoTest.EXISTING_VM_ID ) ; org.junit.Assert.assertTrue ( devices.isEmpty ( ) ) ; }

Target:
public void testGetUnmanagedDeviceByVmId ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.VmDevice > devices = dao.getUnmanagedDevicesByVmId ( org.ovirt.engine.core.dao.VmDeviceDaoTest.EXISTING_VM_ID ) ; org.junit.jupiter.api.Assertions.assertTrue ( devices.isEmpty ( ) ) ; }
Source:
public void parametersWithSecureDeletionAreFixedOnFileDomainWhenPostZeroIsTrue ( ) { org.ovirt.engine.core.bll.storage.domain.PostDeleteActionHandlerTest.ParametersWithPostDeleteAction parameters = org.ovirt.engine.core.bll.storage.domain.PostDeleteActionHandler.fixParameters ( new org.ovirt.engine.core.bll.storage.domain.PostDeleteActionHandlerTest.ParametersWithPostDeleteAction ( true ) , true ) ; assertPostZeroValue ( parameters , false ) ; }

Target:
public void parametersWithSecureDeletionAreNotFixedOnBlockDomainWhenPostZeroIsTrue ( ) { org.ovirt.engine.core.bll.storage.domain.PostDeleteActionHandlerTest.ParametersWithPostDeleteAction parameters = postDeleteActionHandler.fixParameters ( new org.ovirt.engine.core.bll.storage.domain.PostDeleteActionHandlerTest.ParametersWithPostDeleteAction ( true ) , false ) ; assertPostZeroValue ( parameters , true ) ; }
Source:
private org.ovirt.engine.core.compat.Version getClusterVersion ( ) { return org.ovirt.engine.core.bll.network.cluster.UpdateNetworkOnClusterCommand.getVdsGroupDAO ( ) . get ( org.ovirt.engine.core.bll.network.cluster.UpdateNetworkOnClusterCommand.getNetworkCluster ( ) . getClusterId ( ) ) . getcompatibility_version ( ) ; }

Target:
private org.ovirt.engine.core.compat.Version getClusterVersion ( ) { return org.ovirt.engine.core.bll.network.cluster.UpdateNetworkOnClusterCommand.getVdsGroupDAO ( ) . get ( org.ovirt.engine.core.bll.network.cluster.UpdateNetworkOnClusterCommand.getNetworkCluster ( ) . getClusterId ( ) ) . getCompatibilityVersion ( ) ; }
Source:
protected void onSelection ( ) { updateLayout ( ) ; if ( hasSelection ( ) ) { placeManager.revealPlace ( getSubTabRequest ( ) ) ; } else { placeManager.revealPlace ( org.ovirt.engine.ui.webadmin.section.main.presenter.AbstractMainTabWithDetailsPresenter.getMainTabRequest ( ) ) ; } }

Target:
protected void onSelection ( ) { if ( hasSelection ( ) ) { placeManager.revealPlace ( getSubTabRequest ( ) ) ; } else { org.ovirt.engine.ui.webadmin.section.main.presenter.AbstractMainTabWithDetailsPresenter.setSubTabPanelVisible ( false ) ; placeManager.revealPlace ( org.ovirt.engine.ui.webadmin.section.main.presenter.AbstractMainTabWithDetailsPresenter.getMainTabRequest ( ) ) ; } }
Source:
public void setLabels ( java.util.List < java.lang.String > labels ) { this . labels = labels ; }

Target:
public void setNetworkLabels ( java.util.Set < java.lang.String > networkLabels ) { this . networkLabels = networkLabels ; }
Source:
public static java.lang.Object GetConfigValuePreConverted ( org.ovirt.engine.core.common.queries.ConfigurationValues configValue ) { org.ovirt.engine.core.compat.KeyValuePairCompat < org.ovirt.engine.core.common.queries.ConfigurationValues , java.lang.String > key = new org.ovirt.engine.core.compat.KeyValuePairCompat < org.ovirt.engine.core.common.queries.ConfigurationValues , java.lang.String > ( configValue , org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getDefaultConfigurationVersion ( ) ) ; return org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.cachedConfigValuesPreConvert.get ( key ) ; }

Target:
public static java.lang.Object getConfigValuePreConverted ( org.ovirt.engine.core.common.queries.ConfigurationValues configValue ) { org.ovirt.engine.core.compat.KeyValuePairCompat < org.ovirt.engine.core.common.queries.ConfigurationValues , java.lang.String > key = new org.ovirt.engine.core.compat.KeyValuePairCompat < org.ovirt.engine.core.common.queries.ConfigurationValues , java.lang.String > ( configValue , org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getDefaultConfigurationVersion ( ) ) ; return org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.cachedConfigValuesPreConvert.get ( key ) ; }
Source:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { removeBricksButton.getCommand ( ) . Execute ( ) ; clearSelections ( ) ; }

Target:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { removeBricksButton.getCommand ( ) . execute ( ) ; clearSelections ( ) ; }
Source:
public java.util.ArrayList < org.ovirt.engine.core.common.action.VdcReturnValueBase > runMultipleActions ( org.ovirt.engine.core.common.action.VdcActionType actionType , java.util.ArrayList < org.ovirt.engine.core.common.action.VdcActionParametersBase > multipleParams , boolean isRunOnlyIfAllCanDoPass ) { return runMultipleActions ( actionType , multipleParams , isRunOnlyIfAllCanDoPass , false ) ; }

Target:
public java.util.ArrayList < org.ovirt.engine.core.common.action.VdcReturnValueBase > runMultipleActions ( org.ovirt.engine.core.common.action.VdcActionType actionType , java.util.ArrayList < org.ovirt.engine.core.common.action.VdcActionParametersBase > multipleParams , boolean isRunOnlyIfAllValidationPass ) { return runMultipleActions ( actionType , multipleParams , isRunOnlyIfAllValidationPass , false ) ; }
Source:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.webadmin.gin.ClientGinjector ginjector ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( ginjector.getApplicationConstants ( ) . templateStorageSubTabLabel ( ) , 4 , ginjector.getSubTabTemplateStorageModelProvider ( ) ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.webadmin.ApplicationConstants applicationConstants , org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.core.common.businessentities.StorageDomain , org.ovirt.engine.ui.uicommonweb.models.templates.TemplateListModel , org.ovirt.engine.ui.uicommonweb.models.templates.TemplateStorageListModel > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( applicationConstants.templateStorageSubTabLabel ( ) , 4 , modelProvider ) ; }
Source:
private boolean areDisksLocked ( org.ovirt.engine.core.common.action.VdcReturnValueBase vdcReturnValue ) { return vdcReturnValue.getValidationMessages ( ) . contains ( EngineMessage.ACTION_TYPE_FAILED_DISKS_LOCKED.name ( ) ) ; }

Target:
private boolean areDisksLocked ( org.ovirt.engine.core.common.action.ActionReturnValue actionReturnValue ) { return actionReturnValue.getValidationMessages ( ) . contains ( EngineMessage.ACTION_TYPE_FAILED_DISKS_LOCKED.name ( ) ) ; }
Source:
private void mockVMPoolDAO ( ) { org.mockito.Mockito.when ( vmPoolDAO.get ( vmPoolId ) ) . thenReturn ( vmPools ) ; }

Target:
private void mockVMPoolDao ( ) { org.mockito.Mockito.when ( vmPoolDao.get ( vmPoolId ) ) . thenReturn ( vmPools ) ; }
Source:
public void testMissingJobMessages ( ) { org.ovirt.engine.core.dal.job.ExecutionMessageDirector messageDirector = org.ovirt.engine.core.dal.job.ExecutionMessageDirector.getInstance ( ) ; messageDirector.initialize ( org.ovirt.engine.core.dal.job.ExecutionMessageDirectorTest.TEST_BUNDLE_NAME ) ; org.junit.Assert.assertEquals ( VdcActionType.Unknown.name ( ) , messageDirector.getJobMessage ( VdcActionType.Unknown ) ) ; }

Target:
public void testMissingJobMessages ( ) { org.ovirt.engine.core.dal.job.ExecutionMessageDirector messageDirector = org.ovirt.engine.core.dal.job.ExecutionMessageDirector.getInstance ( ) ; messageDirector.initialize ( org.ovirt.engine.core.dal.job.ExecutionMessageDirectorTest.TEST_BUNDLE_NAME ) ; org.junit.Assert.assertEquals ( ActionType.Unknown.name ( ) , messageDirector.getJobMessage ( ActionType.Unknown ) ) ; }
Source:
public void ForceRefresh ( ) { getTimer ( ) . stop ( ) ; setIsQueryFirstTime ( true ) ; syncSearch ( ) ; if ( ! ( getIsTimerDisabled ( ) ) ) { getTimer ( ) . start ( ) ; } }

Target:
public void forceRefresh ( ) { getTimer ( ) . stop ( ) ; setIsQueryFirstTime ( true ) ; syncSearch ( ) ; if ( ! ( getIsTimerDisabled ( ) ) ) { getTimer ( ) . start ( ) ; } }
Source:
public java.lang.String GetTagNameAndChildrenNames ( org.ovirt.engine.core.bll.Guid tagId ) { return org.ovirt.engine.core.bll.TagsDirector.getInstance ( ) . GetTagNameAndChildrenNames ( tagId ) ; }

Target:
public static boolean IsUserAttachedToTag ( org.ovirt.engine.core.compat.Guid tagId , org.ovirt.engine.core.compat.Guid userId ) { return ( org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getTagDao ( ) . getAllForUsersWithIds ( org.ovirt.engine.core.bll.TagsDirector.getInstance ( ) . GetTagIdAndChildrenIds ( tagId ) ) . size ( ) ) != 0 ; }
Source:
protected org.ovirt.engine.core.common.businessentities.VM getVmEntity ( int index ) { return setUpVmEntityExpectations ( control.createMock ( org.ovirt.engine.core.common.businessentities.VM.class ) , index ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.VM getVmEntity ( int index ) { return setUpVmEntityExpectations ( org.mockito.Mockito.mock ( org.ovirt.engine.core.common.businessentities.VM.class ) , index ) ; }
Source:
public int hashCode ( ) { return java.util.Objects.hash ( getVmId ( ) , forceMigrationForNonMigratableVm , targetClusterId ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( getVmId ( ) , forceMigrationForNonMigratableVm , targetClusterId , reason ) ; }
Source:
private static org.ovirt.engine.core.common.businessentities.VDSGroup createVdsGroupWithDifferentName ( ) { org.ovirt.engine.core.common.businessentities.VDSGroup group = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; group.setName ( "BadName" ) ; group.setcompatibility_version ( org.ovirt.engine.core.bll.UpdateVdsGroupCommandTest.VERSION_1_1 ) ; return group ; }

Target:
private static org.ovirt.engine.core.common.businessentities.VDSGroup createVdsGroupWithDifferentName ( ) { org.ovirt.engine.core.common.businessentities.VDSGroup group = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; group.setName ( "BadName" ) ; group.setCompatibilityVersion ( org.ovirt.engine.core.bll.UpdateVdsGroupCommandTest.VERSION_1_1 ) ; return group ; }
Source:
public boolean isHostedEngine ( ) { return OriginType.HOSTED_ENGINE.equals ( getOrigin ( ) ) ; }

Target:
public boolean isHostedEngine ( ) { return ( ( OriginType.HOSTED_ENGINE ) == ( getOrigin ( ) ) ) || ( ( OriginType.MANAGED_HOSTED_ENGINE ) == ( getOrigin ( ) ) ) ; }
Source:
protected java.util.Map < org.ovirt.engine.core.compat.Guid , org.ovirt.engine.core.bll.CommandBase < ? > > buildChildCommands ( ) { return java.util.Collections.< org.ovirt.engine.core.compat.Guid , org.ovirt.engine.core.bll.CommandBase < ? > > emptyMap ( ) ; }

Target:
protected void buildChildCommandInfos ( ) { }
Source:
public int hashCode ( ) { return super . hashCode ( ) ; }

Target:
public void setTunnelMigration ( java.lang.Boolean value ) { vmStatic.setTunnelMigration ( value ) ; }
Source:
public org.ovirt.engine.core.bll.ValidationResult nameNotUsed ( ) { return org.ovirt.engine.core.bll.ValidationResult.failWith ( VdcBllMessages.ACTION_TYPE_FAILED_NAME_ALREADY_USED ) . when ( ( ( hostDao.getByName ( host.getName ( ) ) ) != null ) ) ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult nameNotUsed ( ) { return org.ovirt.engine.core.bll.ValidationResult.failWith ( EngineMessage.ACTION_TYPE_FAILED_NAME_ALREADY_USED ) . when ( ( ( hostDao.getByName ( host.getName ( ) ) ) != null ) ) ; }
Source:
protected org.ovirt.engine.core.common.action.TagsActionParametersBase getAttachParams ( java.lang.String id ) { return new org.ovirt.engine.core.common.action.AttachEntityToTagParameters ( asGuid ( id ) , asList ( asGuid ( parentId ) ) ) ; }

Target:
public org.ovirt.engine.api.resource.AssignedTagResource getAssignedTagSubResource ( @ javax.ws.rs.PathParam ( value = "id" ) java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendUserTagResource ( asGuid ( parentId ) , id ) ) ; }
Source:
public void setLockVm ( boolean lockVm ) { this . lockVm = lockVm ; }

Target:
public void setVmId ( org.ovirt.engine.core.compat.Guid vmId ) { this . vmId = vmId ; }
Source:
public void setName ( java.lang.String value ) { if ( ! ( org.ovirt.engine.core.common.utils.ObjectUtils.objectsEqual ( name , value ) ) ) { name = value ; onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "Name" ) ) ; } }

Target:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event < ? extends org.ovirt.engine.ui.uicompat.EventArgs > ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { getEntity ( ) . getVm ( ) . setName ( getName ( ) . getEntity ( ) ) ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.ui.uicommonweb.models.EntityModel object ) { org.ovirt.engine.core.common.businessentities.DiskImage diskImage = ( ( org.ovirt.engine.core.common.businessentities.DiskImage ) ( ( ( org.ovirt.engine.ui.uicommonweb.models.vms.DiskModel ) ( object.getEntity ( ) ) ) . getDisk ( ) ) ) ; return diskImage.getDiskAlias ( ) ; }

Target:
private void localize ( ) { isPluggedEditor.setLabel ( org.ovirt.engine.ui.common.widget.uicommon.popup.vm.VmDiskAttachPopupWidget.constants.activateVmDiskPopup ( ) ) ; isPluggedEditor.setWidgetTooltip ( org.ovirt.engine.ui.common.widget.uicommon.popup.vm.VmDiskAttachPopupWidget.constants.activateVmDiskPopupToolTip ( ) ) ; isPluggedEditor.getContentWidgetContainer ( ) . setWidth ( "90px" ) ; }
Source:
public org.ovirt.engine.core.compat.Guid eval ( org.ovirt.engine.core.common.businessentities.DiskImage disk ) { return disk.getvm_snapshot_id ( ) . getValue ( ) ; }

Target:
public org.ovirt.engine.core.compat.Guid eval ( org.ovirt.engine.core.common.businessentities.DiskImage disk ) { return disk.getVmSnapshotId ( ) . getValue ( ) ; }
Source:
public void findActiveVmsUsingNetworksOnUnpluggedVnic ( ) { mockDaos ( false ) ; java.util.List < java.lang.String > vmNames = vmInterfaceManager.findActiveVmsUsingNetworks ( org.ovirt.engine.core.compat.Guid.newGuid ( ) , java.util.Collections.singletonList ( NETWORK_NAME ) ) ; org.junit.Assert.assertFalse ( vmNames.contains ( VM_NAME ) ) ; }

Target:
public void findActiveVmsUsingNetworksOnUnpluggedVnic ( ) { mockDaos ( false ) ; java.util.List < java.lang.String > vmNames = vmInterfaceManager.findActiveVmsUsingNetworks ( org.ovirt.engine.core.compat.Guid.newGuid ( ) , java.util.Collections.singletonList ( org.ovirt.engine.core.bll.network.VmInterfaceManagerTest.NETWORK_NAME ) ) ; org.junit.Assert.assertFalse ( vmNames.contains ( org.ovirt.engine.core.bll.network.VmInterfaceManagerTest.VM_NAME ) ) ; }
Source:
protected void selectedItemsChanged ( ) { super . selectedItemsChanged ( ) ; updateActionAvailability ( getEntity ( ) ) ; }

Target:
public void search ( ) { if ( ( getEntity ( ) ) != null ) { super . search ( ) ; } }
Source:
public void runningSucceded ( ) { removeMemoryFromSnapshot ( ) ; super . runningSucceded ( ) ; }

Target:
public void reportCompleted ( ) { if ( isRunAndPaused ( ) ) { final org.ovirt.engine.core.bll.job.ExecutionContext executionContext = org.ovirt.engine.core.bll.RunVmCommand.getExecutionContext ( ) ; executionContext.setShouldEndJob ( true ) ; org.ovirt.engine.core.bll.job.ExecutionHandler.endJob ( executionContext , true ) ; } else { super . reportCompleted ( ) ; } }
Source:
protected void RemoveSnapshot ( org.ovirt.engine.core.common.businessentities.DiskImage snapshot ) { super . RemoveSnapshot ( snapshot ) ; _imagesToDelete.add ( _imagesToDelete.size ( ) , snapshot.getImageId ( ) ) ; }

Target:
protected void removeSnapshot ( org.ovirt.engine.core.common.businessentities.DiskImage snapshot ) { super . removeSnapshot ( snapshot ) ; _imagesToDelete.add ( _imagesToDelete.size ( ) , snapshot.getImageId ( ) ) ; }
Source:
public void testGet64bitOss ( ) { org.junit.Assert.assertEquals ( 2 , OsRepositoryImpl.INSTANCE.get64bitOss ( ) . size ( ) ) ; }

Target:
public void testGet64bitOss ( ) { org.junit.jupiter.api.Assertions.assertEquals ( 2 , OsRepositoryImpl.INSTANCE.get64bitOss ( ) . size ( ) ) ; }
Source:
public boolean IsSearchStringMatch ( java.lang.String searchString ) { return true ; }

Target:
public boolean isSearchStringMatch ( java.lang.String searchString ) { return true ; }
Source:
void setDetachAllVisible ( boolean visible ) ;

Target:
void setApplyEnabled ( boolean enabled ) ;
Source:
public void sethypervisor_type ( org.ovirt.engine.core.common.businessentities.HypervisorType value ) { mVdsDynamic.sethypervisor_type ( value ) ; }

Target:
public void setPmSecondaryOptionsMap ( org.ovirt.engine.core.common.queries.ValueObjectMap value ) { mVdsStatic.setPmSecondaryOptionsMap ( value ) ; }
Source:
java.lang.String passthroughNotSupported ( java.lang.String version ) ;

Target:
java.lang.String invalidIconFormat ( java.lang.String s ) ;
Source:
public int compare ( org.ovirt.engine.core.bll.storage.CommandBase x , org.ovirt.engine.core.bll.storage.CommandBase y ) { return ( x.getStorageDomain ( ) . getStorageDomainType ( ) . getValue ( ) ) - ( y.getStorageDomain ( ) . getStorageDomainType ( ) . getValue ( ) ) ; }

Target:
public int compare ( org.ovirt.engine.core.bll.CommandBase x , org.ovirt.engine.core.bll.CommandBase y ) { return ( x.getStorageDomain ( ) . getStorageDomainType ( ) . getValue ( ) ) - ( y.getStorageDomain ( ) . getStorageDomainType ( ) . getValue ( ) ) ; }
Source:
public static < T > boolean objectsEqual ( T obj1 , T obj2 ) { if ( obj1 == null ) { return obj2 == null ; } else { return obj1.equals ( obj2 ) ; } }

Target:
public static < T > boolean objectsEqual ( T a , T b ) { return ( a == b ) || ( ( a != null ) && ( a.equals ( b ) ) ) ; }
Source:
public void setErrorMessage ( java.lang.String text ) { errorMessage.setText ( text ) ; errorMessage.setVisible ( ( text != null ) ) ; if ( errorMessage.isVisible ( ) ) { errorMessagePanel.setVisible ( true ) ; } }

Target:
public void setErrorMessageHtml ( java.lang.String text ) { setErrorMessageLabel ( errorMessage , text ) ; errorMessage.setVisible ( ( text != null ) ) ; if ( errorMessage.isVisible ( ) ) { errorMessagePanel.setVisible ( true ) ; } }
Source:
public void setactual_size ( long value ) { this . actualSizeFromDiskImageDynamic = value ; setActualSize ( ( ( ( getactual_size ( ) ) * 1.0 ) / ( ( 1024 * 1024 ) * 1024 ) ) ) ; }

Target:
public void setActualSizeFromDiskImage ( long size ) { actualSizeFromDiskImageDynamic = size ; setActualSize ( ( ( ( getActualSizeFromDiskImage ( ) ) * 1.0 ) / ( ( 1024 * 1024 ) * 1024 ) ) ) ; }
Source:
private boolean isHealthy ( org.ovirt.engine.core.common.businessentities.FenceAgent agent , org.ovirt.engine.core.common.businessentities.VDS host ) { return ( new org.ovirt.engine.core.bll.pm.HostFenceActionExecutor ( host ) . getFenceAgentStatus ( agent ) . getStatus ( ) ) == ( org.ovirt.engine.core.common.businessentities.pm.FenceOperationResult.Status.SUCCESS ) ; }

Target:
private boolean isHealthy ( org.ovirt.engine.core.common.businessentities.pm.FenceAgent agent , org.ovirt.engine.core.common.businessentities.VDS host ) { return ( new org.ovirt.engine.core.bll.pm.HostFenceActionExecutor ( host ) . getFenceAgentStatus ( agent ) . getStatus ( ) ) == ( org.ovirt.engine.core.common.businessentities.pm.FenceOperationResult.Status.SUCCESS ) ; }
Source:
public java.lang.Double getcpu_user ( ) { return this . mVmStatistics.getcpu_user ( ) ; }

Target:
public java.lang.String getHash ( ) { return vmDynamic.getHash ( ) ; }
Source:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { if ( ( ( org.ovirt.engine.ui.webadmin.section.main.view.popup.host.HostPopupView ) ( getView ( ) ) ) . rbDiscoveredHost.getValue ( ) ) { model.getIsDiscorveredHosts ( ) . setEntity ( true ) ; } }

Target:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { if ( ( ( org.ovirt.engine.ui.webadmin.section.main.view.popup.host.HostPopupView ) ( getView ( ) ) ) . rbDiscoveredHost.getValue ( ) ) { model.getIsDiscoveredHosts ( ) . setEntity ( true ) ; } }
Source:
org.ovirt.engine.ui.webadmin.widget.host.VLanPanel createVLanPanel ( org.ovirt.engine.ui.uicommonweb.models.hosts.HostInterfaceLineModel lineModel ) { org.ovirt.engine.ui.webadmin.widget.host.VLanPanel panel = new org.ovirt.engine.ui.webadmin.widget.host.VLanPanel ( ) ; panel.setWidth ( "100%" ) ; panel.setHeight ( "100%" ) ; panel.addVLans ( lineModel ) ; return panel ; }

Target:
org.ovirt.engine.ui.webadmin.widget.host.VLanPanel createVLanPanel ( org.ovirt.engine.ui.uicommonweb.models.hosts.HostInterfaceLineModel lineModel ) { org.ovirt.engine.ui.webadmin.widget.host.VLanPanel panel = new org.ovirt.engine.ui.webadmin.widget.host.VLanPanel ( ) ; panel.setWidth ( "100%" ) ; panel.setHeight ( "100%" ) ; panel.addVLans ( lineModel ) ; addClickHandlerToPanel ( panel , lineModel ) ; return panel ; }
Source:
private void processVmPoolOnStopVm ( ) { org.ovirt.engine.core.bll.VmPoolHandler.processVmPoolOnStopVm ( org.ovirt.engine.core.bll.RunVmCommandBase.getVm ( ) . getId ( ) , org.ovirt.engine.core.bll.job.ExecutionHandler.createDefaultContexForTasks ( org.ovirt.engine.core.bll.RunVmCommandBase.getExecutionContext ( ) ) ) ; }

Target:
protected void processVmPoolOnStopVm ( ) { org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil.execute ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { org.ovirt.engine.core.bll.VmPoolHandler.processVmPoolOnStopVm ( getVm ( ) . getId ( ) , org.ovirt.engine.core.bll.job.ExecutionHandler.createDefaultContexForTasks ( getExecutionContext ( ) ) ) ; } } ) ; }
Source:
protected org.ovirt.engine.core.dao.StorageDomainDAO getStorageDomainDao ( ) { return org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getStorageDomainDAO ( ) ; }

Target:
protected boolean doesStorageDomainhaveSpaceForRequest ( org.ovirt.engine.core.common.businessentities.storage_domains storageDomain ) { return org.ovirt.engine.core.bll.command.utils.StorageDomainSpaceChecker.hasSpaceForRequest ( storageDomain , getDiskImageInfo ( ) . getSizeInGigabytes ( ) ) ; }
Source:
protected void markImageAsIllegal ( ) { setImageStatus ( ImageStatus.ILLEGAL ) ; }

Target:
protected org.ovirt.engine.core.dao.DiskImageDynamicDAO getDiskImageDynamicDAO ( ) { return org.ovirt.engine.core.bll.BaseImagesCommand.getDbFacade ( ) . getDiskImageDynamicDao ( ) ; }
Source:
public static org.ovirt.engine.core.common.businessentities.AsyncTasks getAsyncTask ( org.ovirt.engine.core.compat.Guid taskId , org.ovirt.engine.core.bll.CommandBase command , org.ovirt.engine.core.common.asynctasks.AsyncTaskCreationInfo asyncTaskCreationInfo , org.ovirt.engine.core.common.action.VdcActionType parentCommand ) { return org.ovirt.engine.core.bll.tasks.CommandCoordinator.getInstance ( ) . getAsyncTask ( taskId , command , asyncTaskCreationInfo , parentCommand ) ; }

Target:
public static org.ovirt.engine.core.common.businessentities.AsyncTasks getAsyncTask ( org.ovirt.engine.core.compat.Guid taskId , org.ovirt.engine.core.bll.CommandBase command , org.ovirt.engine.core.common.asynctasks.AsyncTaskCreationInfo asyncTaskCreationInfo , org.ovirt.engine.core.common.action.VdcActionType parentCommand ) { return org.ovirt.engine.core.bll.tasks.TaskManagerUtil.coco.getAsyncTask ( taskId , command , asyncTaskCreationInfo , parentCommand ) ; }
Source:
public java.util.List < org.ovirt.engine.core.common.businessentities.network.VmNetworkInterface > getAllForTemplatesByNetwork ( org.ovirt.engine.core.compat.Guid networkId ) { return getCallsHandler ( ) . executeReadList ( "GetVmTemplateInterfacesByNetworkId" , mapper , getCustomMapSqlParameterSource ( ) . addValue ( "network_id" , networkId ) ) ; }

Target:
public java.util.List < org.ovirt.engine.core.common.businessentities.network.VmNetworkInterface > getAllForNetwork ( org.ovirt.engine.core.compat.Guid networkId ) { return getCallsHandler ( ) . executeReadList ( "GetVmInterfaceViewsByNetworkId" , mapper , getCustomMapSqlParameterSource ( ) . addValue ( "network_id" , networkId ) ) ; }
Source:
public void setDetailModels ( java.util.List < org.ovirt.engine.ui.uicommonweb.models.EntityModel > value ) { if ( ( detailModels ) != value ) { detailModels = value ; OnPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "DetailModels" ) ) ; } }

Target:
public void setDetailModels ( java.util.List < org.ovirt.engine.ui.uicommonweb.models.EntityModel > value ) { if ( ( detailModels ) != value ) { detailModels = value ; onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "DetailModels" ) ) ; } }
Source:
public void setOutAverageLinkshare ( java.lang.Integer outAverageLinkshare ) { this . outAverageLinkshare = outAverageLinkshare ; }

Target:
public java.lang.Integer getOutAverageLinkshare ( ) { return hostNetworkQosProperties.getOutAverageLinkshare ( ) ; }
Source:
public void setFencingPolicy ( org.ovirt.engine.core.common.businessentities.FencingPolicy fencingPolicy ) { this . fencingPolicy = fencingPolicy ; }

Target:
protected org.ovirt.engine.core.utils.pm.VdsFenceOptions createVdsFenceOptions ( java.lang.String version ) { return new org.ovirt.engine.core.utils.pm.VdsFenceOptions ( version ) ; }
Source:
public org.ovirt.engine.core.bll.host.provider.foreman.ContentHost findContentHost ( java.lang.String hostName ) { return new org.ovirt.engine.core.bll.host.provider.foreman.KatelloV21Provider ( this ) . findContentHost ( hostName ) ; }

Target:
public boolean isContentHostExist ( java.lang.String hostName ) { return getContentHostProvider ( ) . isContentHostExist ( hostName ) ; }
Source:
public void setMigrationHandler ( org.ovirt.engine.core.bll.scheduling.MigrationHandler migrationHandler ) { if ( ( this . migrationHandler ) != null ) { throw new java.lang.RuntimeException ( "Load balance migration handler should be set only once" ) ; } this . migrationHandler = migrationHandler ; }

Target:
private void markVfsAsUsedByVm ( org.ovirt.engine.core.compat.Guid hostId , org.ovirt.engine.core.compat.Guid vmId , java.util.Map < org.ovirt.engine.core.compat.Guid , java.lang.String > passthroughVnicToVfMap ) { org.ovirt.engine.core.bll.network.host.HostNicVfsConfigHelper hostNicVfsConfigHelper = org.ovirt.engine.core.di.Injector.get ( org.ovirt.engine.core.bll.network.host.HostNicVfsConfigHelper.class ) ; hostNicVfsConfigHelper.setVmIdOnVfs ( hostId , vmId , new java.util.HashSet ( passthroughVnicToVfMap.values ( ) ) ) ; }
Source:
private void updateVmDevices ( java.util.List < java.lang.String > vmsToUpdate ) { org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct [ ] vms = getVmInfo ( vmsToUpdate ) ; updateVmDevices ( vms ) ; }

Target:
protected java.util.List < org.ovirt.engine.core.common.businessentities.VmDevice > getNewVmDevices ( ) { return java.util.Collections.unmodifiableList ( newVmDevices ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.VDSGroup getVdsGroupEntity ( ) { return new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.Cluster getClusterEntity ( ) { return new org.ovirt.engine.core.common.businessentities.Cluster ( ) ; }
Source:
public void shouldDetectSuspendedVM ( ) { invalidVM.setStatus ( VMStatus.Suspended ) ; org.hamcrest.MatcherAssert.assertThat ( validator.isVmReadyForUpgrade ( invalidVM ) , org.hamcrest.CoreMatchers.hasItem ( UPGRADE_ERROR.VM_SUSPENDED ) ) ; }

Target:
public void shouldDetectSuspendedVM ( ) { invalidVM.setStatus ( VMStatus.Suspended ) ; org.hamcrest.MatcherAssert.assertThat ( validator.checkVmReadyForUpgrade ( invalidVM ) , org.hamcrest.CoreMatchers.hasItem ( UPGRADE_ERROR.VM_SUSPENDED ) ) ; }
Source:
protected void handleError ( ) { addCanDoActionMessage ( org.ovirt.engine.core.common.errors.VdcBllMessages.VDS_FENCE_OPERATION_FAILED ) ; addCanDoActionMessage ( org.ovirt.engine.core.common.errors.VdcBllMessages.VAR__TYPE__HOST ) ; addCanDoActionMessage ( org.ovirt.engine.core.common.errors.VdcBllMessages.VAR__ACTION__RESTART ) ; log.error ( "Failed to run RestartVdsCommand on vds '{}'" , org.ovirt.engine.core.bll.pm.RestartVdsCommand.getVdsName ( ) ) ; }

Target:
protected void handleError ( ) { addCanDoActionMessage ( org.ovirt.engine.core.common.errors.EngineMessage.VDS_FENCE_OPERATION_FAILED ) ; addCanDoActionMessage ( org.ovirt.engine.core.common.errors.EngineMessage.VAR__TYPE__HOST ) ; addCanDoActionMessage ( org.ovirt.engine.core.common.errors.EngineMessage.VAR__ACTION__RESTART ) ; log.error ( "Failed to run RestartVdsCommand on vds '{}'" , org.ovirt.engine.core.bll.pm.RestartVdsCommand.getVdsName ( ) ) ; }
Source:
protected void updateVMDetails ( org.ovirt.engine.core.common.businessentities.VM vm ) { org.ovirt.engine.core.bll.VmHandler.updateDisksFromDb ( vm ) ; org.ovirt.engine.core.bll.VmHandler.updateVmGuestAgentVersion ( vm ) ; org.ovirt.engine.core.bll.VmHandler.updateNetworkInterfacesFromDb ( vm ) ; }

Target:
protected void updateVMDetails ( org.ovirt.engine.core.common.businessentities.VM vm ) { org.ovirt.engine.core.bll.VmHandler.updateDisksFromDb ( vm ) ; org.ovirt.engine.core.bll.VmHandler.updateVmGuestAgentVersion ( vm ) ; org.ovirt.engine.core.bll.VmHandler.updateNetworkInterfacesFromDb ( vm ) ; org.ovirt.engine.core.bll.VmHandler.updateVmInitFromDB ( vm.getStaticData ( ) , true ) ; }
Source:
public void ExecuteCommand ( org.ovirt.engine.ui.uicommonweb.UICommand command ) { Test ( ) ; }

Target:
public void executeCommand ( org.ovirt.engine.ui.uicommonweb.UICommand command ) { proxyUp ( ) ; }
Source:
private static boolean isVlan ( org.ovirt.engine.core.common.businessentities.network.Network net ) { return ( net.getvlan_id ( ) ) != null ; }

Target:
private static boolean isVlan ( org.ovirt.engine.core.common.businessentities.network.Network net ) { return ( net.getVlanId ( ) ) != null ; }
Source:
public org.ovirt.engine.core.bll.ValidationResult qosExists ( ) { return ( ( qos ) != null ) && ( ( getOldQos ( ) ) == null ) ? new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.VdcBllMessages.ACTION_TYPE_FAILED_QOS_NOT_FOUND ) : org.ovirt.engine.core.bll.ValidationResult.VALID ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult qosExists ( ) { return ( ( qos ) != null ) && ( ( getOldQos ( ) ) == null ) ? new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.EngineMessage.ACTION_TYPE_FAILED_QOS_NOT_FOUND ) : org.ovirt.engine.core.bll.ValidationResult.VALID ; }
Source:
public void clear ( ) { animatedPanel.clear ( ) ; }

Target:
public void clear ( ) { animatedPanel.clear ( ) ; requiredPanel.clear ( ) ; nonRequiredPanel.clear ( ) ; }
Source:
public void setis_display ( boolean value ) { this . isDisplay = value ; }

Target:
public void setDisplay ( boolean value ) { this . display = value ; }