auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void setTemplate ( org.springframework.jdbc.core.JdbcTemplate jdbcTemplate ) { this . jdbcTemplate = jdbcTemplate ; }

Target:
protected org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate ( ) { return jdbcTemplate ; }
Source:
public void testIsUpdInvalid ( ) { storagePool.setstatus ( StoragePoolStatus.Problematic ) ; org.ovirt.engine.core.bll.storage.StoragePoolValidatorTest.assertMessage ( validator.isUp ( ) , VdcBllMessages.ACTION_TYPE_FAILED_IMAGE_REPOSITORY_NOT_FOUND ) ; }

Target:
public void testIsUpdInvalid ( ) { storagePool.setstatus ( StoragePoolStatus.NonResponsive ) ; org.ovirt.engine.core.bll.storage.StoragePoolValidatorTest.assertMessage ( validator.isUp ( ) , VdcBllMessages.ACTION_TYPE_FAILED_IMAGE_REPOSITORY_NOT_FOUND ) ; }
Source:
types.StorageDomain [ ] storageDomain ( ) ;

Target:
types.StorageDomain [ ] storageDomains ( ) ;
Source:
public void testIsDomainExistAndActiveDomainNotUp ( ) { domain.setStatus ( StorageDomainStatus.Inactive ) ; org.junit.Assert.assertThat ( "Wrong failure for inactive domain" , validator.isDomainExistAndActive ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.ACTION_TYPE_FAILED_STORAGE_DOMAIN_STATUS_ILLEGAL2 ) ) ; }

Target:
public void testIsDomainExistAndActiveDomainNotUp ( ) { domain.setStatus ( StorageDomainStatus.Inactive ) ; org.hamcrest.MatcherAssert.assertThat ( "Wrong failure for inactive domain" , validator.isDomainExistAndActive ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.ACTION_TYPE_FAILED_STORAGE_DOMAIN_STATUS_ILLEGAL2 ) ) ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.Network object ) { return object.getis_display ( ) ? constants.displayNetwork ( ) : constants.empty ( ) ; }

Target:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.Network object ) { return ( object.getCluster ( ) ) == null ? false : object.getCluster ( ) . getis_display ( ) ? constants.displayNetwork ( ) : constants.empty ( ) ; }
Source:
protected org.ovirt.engine.extensions.aaa.builtin.kerberosldap.GetRootDSE createRootDSE ( java.net.URI uri ) { return new org.ovirt.engine.extensions.aaa.builtin.kerberosldap.GetRootDSE ( uri ) ; }

Target:
protected org.ovirt.engine.extensions.aaa.builtin.kerberosldap.GetRootDSE createRootDSE ( java.lang.String uri ) { return new org.ovirt.engine.extensions.aaa.builtin.kerberosldap.GetRootDSE ( configuration , uri ) ; }
Source:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.core.common.utils.PairQueryable < org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface , org.ovirt.engine.core.common.businessentities.VDS > , org.ovirt.engine.ui.uicommonweb.models.networks.NetworkListModel , org.ovirt.engine.ui.uicommonweb.models.networks.NetworkHostListModel > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( org.ovirt.engine.ui.webadmin.section.main.presenter.tab.network.SubTabNetworkHostPresenter.constants.networkHostSubTabLabel ( ) , 4 , modelProvider ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( ) { return new org.ovirt.engine.ui.common.uicommon.model.GroupedTabData ( org.ovirt.engine.ui.webadmin.section.main.presenter.tab.network.SubTabNetworkHostPresenter.constants.networkHostSubTabLabel ( ) , 4 ) ; }
Source:
private void CollapseAll ( ) { SetIsExpandedRecursively ( false , getItems ( ) . get ( 0 ) ) ; }

Target:
private void collapseAll ( ) { setIsExpandedRecursively ( false , getItems ( ) . get ( 0 ) ) ; }
Source:
void addExternallyManagedVms ( java.util.List < org.ovirt.engine.core.common.businessentities.VmStatic > externalVmList ) ;

Target:
void addUnmanagedVms ( org.ovirt.engine.core.compat.Guid hostId , java.util.List < org.ovirt.engine.core.compat.Guid > unmanagedVmIds ) ;
Source:
private void initGroupFromDb ( org.ovirt.engine.core.common.businessentities.ad_groups group ) { org.ovirt.engine.core.common.businessentities.ad_groups dbGroup = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getAdGroupDAO ( ) . get ( group.getid ( ) ) ; }

Target:
private void initGroupFromDb ( org.ovirt.engine.core.common.businessentities.ad_groups group ) { org.ovirt.engine.core.common.businessentities.ad_groups dbGroup = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getAdGroupDao ( ) . get ( group.getid ( ) ) ; }
Source:
protected void onSelectedItemChanged ( ) { super . onSelectedItemChanged ( ) ; if ( ( getSelectedItem ( ) ) != null ) { UpdateFormat ( ) ; UpdateHost ( ) ; } }

Target:
protected void onSelectedItemChanged ( ) { super . onSelectedItemChanged ( ) ; if ( ( getSelectedItem ( ) ) != null ) { updateFormat ( ) ; updateHost ( ) ; } }
Source:
protected java.lang.String getObjectName ( java.lang.Object object ) { return ( ( org.ovirt.engine.ui.uicommonweb.models.vms.ImportTemplateData ) ( object ) ) . getTemplate ( ) . getName ( ) ; }

Target:
protected java.lang.String getObjectName ( org.ovirt.engine.ui.uicommonweb.models.vms.ImportTemplateData templateData ) { return templateData.getTemplate ( ) . getName ( ) ; }
Source:
private java.util.List < org.ovirt.engine.core.common.businessentities.AuditLog > searchAuditLogEvents ( ) { return genericSearch ( org.ovirt.engine.core.bll.SearchQuery.getDbFacade ( ) . getAuditLogDAO ( ) , false , null ) ; }

Target:
private java.util.List < org.ovirt.engine.core.common.businessentities.AuditLog > searchAuditLogEvents ( ) { return genericSearch ( org.ovirt.engine.core.bll.SearchQuery.getDbFacade ( ) . getAuditLogDao ( ) , false , null ) ; }
Source:
protected void setVdsmErrorsTranslator ( final org.ovirt.engine.ui.frontend.ErrorTranslator translator ) { vdsmErrorsTranslator = translator ; }

Target:
public void clearLoggedInUser ( ) { initLoggedInUser ( null , null ) ; }
Source:
public void ExecuteCommand ( org.ovirt.engine.ui.uicommonweb.UICommand uiCommand ) { ExecuteCommand ( uiCommand , new java.lang.Object [ 0 ] ) ; }

Target:
public void executeCommand ( org.ovirt.engine.ui.uicommonweb.UICommand uiCommand ) { executeCommand ( uiCommand , new java.lang.Object [ 0 ] ) ; }
Source:
public java.lang.Object getQueryableId ( ) { return ( ( getMemberId ( getFirst ( ) ) ) + '.' ) + ( getMemberId ( getSecond ( ) ) ) ; }

Target:
public org.ovirt.engine.core.common.utils.PairQueryable.PairQueryableId getQueryableId ( ) { return new org.ovirt.engine.core.common.utils.PairQueryable.PairQueryableId ( getMemberId ( getFirst ( ) ) , getMemberId ( getSecond ( ) ) ) ; }
Source:
public void setApiAddress ( java.lang.String apiAddress ) { this . apiAddress = apiAddress ; }

Target:
public void setUrl ( java.lang.String url ) { this . url = url ; }
Source:
public java.util.List < org.ovirt.engine.core.common.businessentities.CommandEntity > getCommandsWithCallbackEnabled ( ) { return getCommands ( true ) ; }

Target:
public void updateCommandExecuted ( org.ovirt.engine.core.compat.Guid commandId ) { commandsRepository.getCommandsCache ( ) . updateCommandExecuted ( commandId ) ; }
Source:
org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumeSnapshotInfoReturnForXmlRpc glusterSnapshotInfo ( org.ovirt.engine.core.compat.Guid clusterId , java.lang.String volumeName ) ;

Target:
org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumeSnapshotInfoReturnForXmlRpc glusterVolumeSnapshotList ( org.ovirt.engine.core.compat.Guid clusterId , java.lang.String volumeName ) ;
Source:
protected void executeCommand ( ) { final org.ovirt.engine.core.compat.Guid macPoolId = getParameters ( ) . getMacPoolId ( ) ; getMacPoolDao ( ) . remove ( macPoolId ) ; org.ovirt.engine.core.bll.network.macpoolmanager.MacPoolPerDc.getInstance ( ) . removePool ( macPoolId ) ; getReturnValue ( ) . setSucceeded ( true ) ; }

Target:
protected void executeCommand ( ) { getMacPoolDao ( ) . remove ( getParameters ( ) . getMacPoolId ( ) ) ; org.ovirt.engine.core.bll.network.macpoolmanager.MacPoolPerDcSingleton.getInstance ( ) . removePool ( getParameters ( ) . getMacPoolId ( ) ) ; getReturnValue ( ) . setSucceeded ( true ) ; }
Source:
public void setOutgoingHeartbeat ( boolean isHeartbeat ) { this . isOutgoingHeartbeat.set ( isHeartbeat ) ; }

Target:
public void setOutgoingHeartbeat ( boolean isHeartbeat ) { if ( isHeartbeat && ( ( this . outgoingHeartbeat ) != 0 ) ) { this . isOutgoingHeartbeat.set ( isHeartbeat ) ; return ; } this . isOutgoingHeartbeat.set ( false ) ; }
Source:
protected void EndSuccessfully ( ) { super . EndSuccessfully ( ) ; org.ovirt.engine.core.bll.VmTemplateHandler.UnLockVmTemplate ( org.ovirt.engine.core.bll.AddVmFromTemplateCommand.getParameters ( ) . OriginalTemplate ) ; }

Target:
protected void endSuccessfully ( ) { super . endSuccessfully ( ) ; org.ovirt.engine.core.bll.VmTemplateHandler.UnLockVmTemplate ( org.ovirt.engine.core.bll.AddVmFromTemplateCommand.getParameters ( ) . OriginalTemplate ) ; }
Source:
public java.lang.String renderNullSafe ( org.ovirt.engine.core.common.businessentities.ArchitectureType object ) { return object.toString ( ) ; }

Target:
public java.lang.String render ( org.ovirt.engine.core.common.businessentities.ArchitectureType object ) { if ( ( object == null ) || ( object == ( org.ovirt.engine.core.common.businessentities.ArchitectureType.undefined ) ) ) { return super . render ( object ) ; } else { return object.toString ( ) ; } }
Source:
private org.ovirt.engine.core.common.businessentities.network.Network getNetwork ( ) { return org.ovirt.engine.core.bll.network.cluster.DetachNetworkToVdsGroupCommand.getParameters ( ) . getNetwork ( ) ; }

Target:
private org.ovirt.engine.core.common.businessentities.network.Network getNetwork ( ) { return org.ovirt.engine.core.bll.network.cluster.DetachNetworkToClusterCommand.getParameters ( ) . getNetwork ( ) ; }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { doInit ( ) ; }

Target:
public void onSuccess ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue returnValue ) { doInit ( ) ; }
Source:
public void error ( java.lang.Object arg0 , java.lang.Throwable arg1 ) { log.error ( addPrefixToLogMessage ( arg0 ) , arg1 ) ; }

Target:
public void error ( java.lang.Object msg , java.lang.Throwable t ) { log.error ( addPrefixToLogMessage ( msg ) , t ) ; }
Source:
void setHotKey ( java.lang.String value ) ;

Target:
void setReleaseCursorHotKey ( java.lang.String releaseCursorHotKey ) ;
Source:
private static org.ovirt.engine.core.common.businessentities.VDSGroup createDetachedDefaultVdsGroup ( ) { org.ovirt.engine.core.common.businessentities.VDSGroup group = org.ovirt.engine.core.bll.UpdateVdsGroupCommandTest.createDefaultVdsGroup ( ) ; group.setStoragePoolId ( null ) ; return group ; }

Target:
private static org.ovirt.engine.core.common.businessentities.Cluster createDetachedDefaultCluster ( ) { org.ovirt.engine.core.common.businessentities.Cluster group = org.ovirt.engine.core.bll.UpdateClusterCommandTest.createDefaultCluster ( ) ; group.setStoragePoolId ( null ) ; return group ; }
Source:
private void createCommandWithOlderVersion ( boolean supportsVirtService , boolean supportsGlusterService ) { createCommand ( org.ovirt.engine.core.bll.UpdateVdsGroupCommandTest.createVdsGroupWithOlderVersion ( true , false ) ) ; }

Target:
private void createCommandWithOlderVersion ( boolean supportsVirtService , boolean supportsGlusterService ) { createCommand ( org.ovirt.engine.core.bll.UpdateClusterCommandTest.createClusterWithOlderVersion ( true , false ) ) ; }
Source:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc shutdownHost ( int reboot ) ;

Target:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc setMOMPolicyParameters ( java.util.Map < java.lang.String , java.lang.Object > key_value_store ) ;
Source:
public org.ovirt.engine.core.bll.ValidationResult mtuValid ( ) { return org.ovirt.engine.core.bll.ValidationResult.failWith ( EngineMessage.NETWORK_MTU_OVERRIDE_NOT_SUPPORTED ) . unless ( ( ( ( network.getMtu ( ) ) == 0 ) || ( org.ovirt.engine.core.common.FeatureSupported.mtuSpecification ( getDataCenter ( ) . getCompatibilityVersion ( ) ) ) ) ) ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult mtuValid ( ) { return org.ovirt.engine.core.bll.ValidationResult.VALID ; }
Source:
public void setRoundedElapsedTime ( java.lang.Double value ) { this . mVmStatistics.setRoundedElapsedTime ( value ) ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "roundedElapsedTime" ) ) ; }

Target:
public void setCpuUser ( java.lang.Double value ) { this . vmStatistics.setcpu_user ( value ) ; }
Source:
protected void createDiskWrongPlug ( boolean plugged ) { createVirtIODisk ( ) ; vmDevice.setIsPlugged ( plugged ) ; }

Target:
protected void createDiskWrongPlug ( boolean plugged ) { createVirtIODisk ( ) ; vmDevice.setPlugged ( plugged ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; dao = dbFacade.getVdsDao ( ) ; existingVds = dao.get ( org.ovirt.engine.core.dao.VdsDaoTest.EXISTING_VDS_ID ) ; existingVds2 = dao.get ( FixturesTool.VDS_RHEL6_NFS_SPM ) ; newVmId = org.ovirt.engine.core.compat.Guid.newGuid ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; dao = dbFacade.getVdsDao ( ) ; existingVds = dao.get ( FixturesTool.HOST_ID ) ; existingVds2 = dao.get ( FixturesTool.VDS_RHEL6_NFS_SPM ) ; newVmId = org.ovirt.engine.core.compat.Guid.newGuid ( ) ; }
Source:
private void assertCorrectGetAllResult ( java.util.List < org.ovirt.engine.core.common.businessentities.VDSGroup > result ) { org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertFalse ( result.isEmpty ( ) ) ; org.junit.Assert.assertEquals ( org.ovirt.engine.core.dao.VdsGroupDaoTest.NUMBER_OF_GROUPS , result.size ( ) ) ; }

Target:
private void assertCorrectGetAllResult ( java.util.List < org.ovirt.engine.core.common.businessentities.Cluster > result ) { org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertFalse ( result.isEmpty ( ) ) ; org.junit.Assert.assertEquals ( org.ovirt.engine.core.dao.ClusterDaoTest.NUMBER_OF_GROUPS , result.size ( ) ) ; }
Source:
public org.ovirt.engine.api.resource.NetworkResource getNetworkResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendDataCenterNetworkResource ( id , this ) ) ; }

Target:
public org.ovirt.engine.api.resource.DataCenterNetworkResource getNetworkResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendDataCenterNetworkResource ( id ) ) ; }
Source:
public org.ovirt.engine.api.model.OpenStackImages list ( ) { org.ovirt.engine.core.compat.Guid storageDomainId = org.ovirt.engine.api.restapi.resource.openstack.BackendOpenStackImageProviderHelper.getStorageDomainId ( this , providerId ) ; org.ovirt.engine.core.common.queries.GetImagesListParameters parameters = new org.ovirt.engine.core.common.queries.GetImagesListParameters ( storageDomainId , org.ovirt.engine.core.common.businessentities.ImageFileType.All ) ; return mapCollection ( getBackendCollection ( VdcQueryType.GetImagesList , parameters ) ) ; }

Target:
public org.ovirt.engine.api.model.OpenStackImages list ( ) { org.ovirt.engine.core.compat.Guid storageDomainId = org.ovirt.engine.api.restapi.resource.openstack.BackendOpenStackImageProviderHelper.getStorageDomainId ( this , providerId ) ; org.ovirt.engine.core.common.queries.GetImagesListParameters parameters = new org.ovirt.engine.core.common.queries.GetImagesListParameters ( storageDomainId , org.ovirt.engine.core.common.businessentities.storage.ImageFileType.All ) ; return mapCollection ( getBackendCollection ( VdcQueryType.GetImagesList , parameters ) ) ; }
Source:
public void testGetAllForStoragePoolWithPermissionsPrivilegedUser ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.StorageDomain > result = dao.getAllForStoragePool ( org.ovirt.engine.core.dao.StorageDomainDAOTest.EXISTING_STORAGE_POOL_ID , org.ovirt.engine.core.dao.PRIVILEGED_USER_ID , true ) ; org.ovirt.engine.core.dao.StorageDomainDAOTest.assertGetAllForStoragePoolResult ( result ) ; }

Target:
public void testGetAllForStoragePool ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.StorageDomain > result = dao.getAllForStoragePool ( org.ovirt.engine.core.dao.StorageDomainDAOTest.EXISTING_STORAGE_POOL_ID ) ; org.ovirt.engine.core.dao.StorageDomainDAOTest.assertGetAllForStoragePoolResult ( result , org.ovirt.engine.core.dao.StorageDomainDAOTest.EXISTING_STORAGE_POOL_ID ) ; }
Source:
public java.lang.Void runInTransaction ( ) { for ( org.ovirt.engine.core.common.action.AttachNetworkToVdsGroupParameter param : getParameters ( ) . getClusterNetworksParameters ( ) ) { org.ovirt.engine.core.bll.network.cluster.AttachNetworkToVdsGroupCommand.updateNetworkAttachment ( param.getVdsGroupId ( ) , param.getNetworkCluster ( ) , param.getNetwork ( ) ) ; } return null ; }

Target:
public java.lang.Void runInTransaction ( ) { for ( org.ovirt.engine.core.common.action.AttachNetworkToVdsGroupParameter param : getParameters ( ) . getClusterNetworksParameters ( ) ) { org.ovirt.engine.core.bll.network.cluster.AttachNetworkToVdsGroupCommand.attachNetwork ( param.getVdsGroupId ( ) , param.getNetworkCluster ( ) , param.getNetwork ( ) ) ; } return null ; }
Source:
private void sysPrepDomainName_SelectedItemChanged ( ) { getSysPrepSelectedDomainName ( ) . setEntity ( getSysPrepDomainName ( ) . getSelectedItem ( ) ) ; }

Target:
public void sysPrepListBoxChanged ( ) { getSysPrepSelectedDomainName ( ) . setEntity ( getSysPrepDomainName ( ) . getSelectedItem ( ) ) ; }
Source:
public void getUsbPolicyNullUsb ( ) { org.ovirt.engine.api.model.Usb usb = null ; org.ovirt.engine.core.common.businessentities.VDSGroup vdsGroup = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; assertEquals ( org.ovirt.engine.api.restapi.types.VmMapper.getUsbPolicyOnCreate ( usb , vdsGroup.getCompatibilityVersion ( ) ) , UsbPolicy.DISABLED ) ; }

Target:
public void getUsbPolicyOnUpdateCurrentlyDisabledGotNullUsb ( ) { org.ovirt.engine.api.model.Usb usb = null ; org.ovirt.engine.core.common.businessentities.UsbPolicy currentPolicy = org.ovirt.engine.core.common.businessentities.UsbPolicy.DISABLED ; assertEquals ( org.ovirt.engine.api.restapi.types.VmMapper.getUsbPolicyOnUpdate ( usb , currentPolicy ) , currentPolicy ) ; }
Source:
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.utils.PairQueryable < org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface , org.ovirt.engine.core.common.businessentities.VDS > , org.ovirt.engine.ui.uicommonweb.models.networks.NetworkListModel , org.ovirt.engine.ui.uicommonweb.models.networks.NetworkHostListModel > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( applicationConstants.networkHostSubTabLabel ( ) , 4 , modelProvider ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.core.common.utils.PairQueryable < org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface , org.ovirt.engine.core.common.businessentities.VDS > , org.ovirt.engine.ui.uicommonweb.models.networks.NetworkListModel , org.ovirt.engine.ui.uicommonweb.models.networks.NetworkHostListModel > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( org.ovirt.engine.ui.webadmin.section.main.presenter.tab.network.SubTabNetworkHostPresenter.constants.networkHostSubTabLabel ( ) , 4 , modelProvider ) ; }
Source:
public org.ovirt.engine.core.common.queries.ValueObjectMap getFencingOptionMappingMap ( ) { return new org.ovirt.engine.core.common.queries.ValueObjectMap ( org.ovirt.engine.core.utils.pm.VdsFencingOptions.fencingOptionMapping , true ) ; }

Target:
public org.ovirt.engine.core.common.queries.ValueObjectMap getFencingOptionMappingMap ( ) { return new org.ovirt.engine.core.common.queries.ValueObjectMap ( org.ovirt.engine.core.utils.pm.VdsFenceOptions.fencingOptionMapping , true ) ; }
Source:
public void setAttachedTagsToEntities ( java.util.Map < org.ovirt.engine.core.compat.Guid , java.lang.Boolean > value ) { if ( ( attachedTagsToEntities ) != value ) { attachedTagsToEntities = value ; AttachedTagsToEntitiesChanged ( ) ; OnPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "AttachedTagsToEntities" ) ) ; } }

Target:
public void setAttachedTagsToEntities ( java.util.Map < org.ovirt.engine.core.compat.Guid , java.lang.Boolean > value ) { if ( ( attachedTagsToEntities ) != value ) { attachedTagsToEntities = value ; attachedTagsToEntitiesChanged ( ) ; onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "AttachedTagsToEntities" ) ) ; } }
Source:
public static java.util.ArrayList < org.ovirt.engine.core.common.businessentities.NetworkInterface > VmNetworkInterfaceListToBase ( java.util.ArrayList < org.ovirt.engine.core.common.businessentities.VmNetworkInterface > items ) { java.util.ArrayList < org.ovirt.engine.core.common.businessentities.NetworkInterface > networkInterfaces = new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.NetworkInterface > ( ) ; for ( org.ovirt.engine.core.common.businessentities.VmNetworkInterface item : items ) { networkInterfaces.add ( item ) ; } return networkInterfaces ; }

Target:
public static java.util.ArrayList < org.ovirt.engine.core.common.businessentities.network.NetworkInterface > VmNetworkInterfaceListToBase ( java.util.ArrayList < org.ovirt.engine.core.common.businessentities.network.VmNetworkInterface > items ) { java.util.ArrayList < org.ovirt.engine.core.common.businessentities.network.NetworkInterface > networkInterfaces = new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.network.NetworkInterface > ( ) ; for ( org.ovirt.engine.core.common.businessentities.network.VmNetworkInterface item : items ) { networkInterfaces.add ( item ) ; } return networkInterfaces ; }
Source:
org.ovirt.engine.core.vdsbroker.vdsbroker.OneVmReturnForXmlRpc powerDown ( java.lang.String vmId ) ;

Target:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc glusterHookDisable ( java.lang.String glusterCommand , java.lang.String stage , java.lang.String hookName ) ;
Source:
public void testAddGroupWithImplicitDirectoryName ( ) throws java.lang.Exception { setUriInfo ( setUpBasicUriExpectations ( ) ) ; setUpEntityQueryExpectations ( VdcQueryType.GetDomainList , org.ovirt.engine.core.common.queries.VdcQueryParametersBase.class , new java.lang.String [ ] { } , new java.lang.Object [ ] { } , setUpDomains ( ) ) ; setUpGetEntityExpectations ( ( ( ( "ADGROUP@" + ( DOMAIN ) ) + ":: name=" ) + ( org.ovirt.engine.api.restapi.resource.aaa.BackendGroupsResourceTest.GROUP_NAMES_WITH_NO_DOMAIN [ 0 ] ) ) , SearchType.DirectoryGroup , getDirectoryGroup ( 0 ) ) ; setUpCreationExpectations ( ActionType.AddGroup , org.ovirt.engine.core.common.action.AddGroupParameters.class , new java.lang.String [ ] { "GroupToAdd" } , new java.lang.Object [ ] { new org.ovirt.engine.core.common.businessentities.aaa.DbGroup ( getDirectoryGroup ( 0 ) ) } , true , true , GUIDS [ 0 ] , VdcQueryType.GetDbGroupById , org.ovirt.engine.core.common.queries.IdQueryParameters.class , new java.lang.String [ ] { "Id" } , new java.lang.Object [ ] { GUIDS [ 0 ] } , getEntity ( 0 ) ) ; org.ovirt.engine.api.model.Group model = new org.ovirt.engine.api.model.Group ( ) ; model.setName ( org.ovirt.engine.api.restapi.resource.aaa.BackendGroupsResourceTest.GROUP_NAMES [ 0 ] ) ; javax.ws.rs.core.Response response = collection.add ( model ) ; assertEquals ( 201 , response.getStatus ( ) ) ; assertTrue ( ( ( response.getEntity ( ) ) instanceof org.ovirt.engine.api.model.Group ) ) ; verifyModel ( ( ( org.ovirt.engine.api.model.Group ) ( response.getEntity ( ) ) ) , 0 ) ; }

Target:
public void testAddGroupWithImplicitDirectoryName ( ) throws java.lang.Exception { setUriInfo ( setUpBasicUriExpectations ( ) ) ; setUpEntityQueryExpectations ( QueryType.GetDomainList , org.ovirt.engine.core.common.queries.VdcQueryParametersBase.class , new java.lang.String [ ] { } , new java.lang.Object [ ] { } , setUpDomains ( ) ) ; setUpGetEntityExpectations ( ( ( ( "ADGROUP@" + ( DOMAIN ) ) + ":: name=" ) + ( org.ovirt.engine.api.restapi.resource.aaa.BackendGroupsResourceTest.GROUP_NAMES_WITH_NO_DOMAIN [ 0 ] ) ) , SearchType.DirectoryGroup , getDirectoryGroup ( 0 ) ) ; setUpCreationExpectations ( ActionType.AddGroup , org.ovirt.engine.core.common.action.AddGroupParameters.class , new java.lang.String [ ] { "GroupToAdd" } , new java.lang.Object [ ] { new org.ovirt.engine.core.common.businessentities.aaa.DbGroup ( getDirectoryGroup ( 0 ) ) } , true , true , GUIDS [ 0 ] , QueryType.GetDbGroupById , org.ovirt.engine.core.common.queries.IdQueryParameters.class , new java.lang.String [ ] { "Id" } , new java.lang.Object [ ] { GUIDS [ 0 ] } , getEntity ( 0 ) ) ; org.ovirt.engine.api.model.Group model = new org.ovirt.engine.api.model.Group ( ) ; model.setName ( org.ovirt.engine.api.restapi.resource.aaa.BackendGroupsResourceTest.GROUP_NAMES [ 0 ] ) ; javax.ws.rs.core.Response response = collection.add ( model ) ; assertEquals ( 201 , response.getStatus ( ) ) ; assertTrue ( ( ( response.getEntity ( ) ) instanceof org.ovirt.engine.api.model.Group ) ) ; verifyModel ( ( ( org.ovirt.engine.api.model.Group ) ( response.getEntity ( ) ) ) , 0 ) ; }
Source:
private boolean isSameSourceAndDest ( org.ovirt.engine.core.common.action.LiveMigrateDiskParameters parameters ) { if ( parameters.getSourceStorageDomainId ( ) . equals ( parameters.getTargetStorageDomainId ( ) ) ) { return failCanDoAction ( EngineMessage.ACTION_TYPE_FAILED_SOURCE_AND_TARGET_SAME ) ; } return true ; }

Target:
private boolean isSameSourceAndDest ( org.ovirt.engine.core.common.action.LiveMigrateDiskParameters parameters ) { if ( parameters.getSourceStorageDomainId ( ) . equals ( parameters.getTargetStorageDomainId ( ) ) ) { return failValidation ( EngineMessage.ACTION_TYPE_FAILED_SOURCE_AND_TARGET_SAME ) ; } return true ; }
Source:
protected static org.ovirt.engine.core.compat.Guid getGuid ( java.sql.ResultSet resultSet , java.lang.String columnName ) throws java.sql.SQLException { return org.ovirt.engine.core.dao.BaseDaoDbFacade.getGuid ( resultSet , columnName , null ) ; }

Target:
protected static org.ovirt.engine.core.compat.Guid getGuid ( java.sql.ResultSet resultSet , java.lang.String columnName ) throws java.sql.SQLException { return org.ovirt.engine.core.dao.BaseDao.getGuid ( resultSet , columnName , null ) ; }
Source:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.network.host.GetAllVfsConfigByHostIdQuery.getQueryReturnValue ( ) . setReturnValue ( getHostNicVfsConfigHelper ( ) . getHostNicVfsConfigsWithNumVfsDataByHostId ( org.ovirt.engine.core.bll.network.host.GetAllVfsConfigByHostIdQuery.getParameters ( ) . getId ( ) ) ) ; }

Target:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.network.host.GetAllVfsConfigByHostIdQuery.getQueryReturnValue ( ) . setReturnValue ( getNetworkDeviceHelper ( ) . getHostNicVfsConfigsWithNumVfsDataByHostId ( org.ovirt.engine.core.bll.network.host.GetAllVfsConfigByHostIdQuery.getParameters ( ) . getId ( ) ) ) ; }
Source:
public void canSetNumaConfigurationWithVmFromDb ( ) { mockCommandWithVmFromDb ( ) ; command.executeCommand ( ) ; org.mockito.Mockito.verify ( vmNumaNodeDao ) . massSaveNumaNode ( org.mockito.Matchers.eq ( paramNumaNodes ) , org.mockito.Matchers.any ( org.ovirt.engine.core.compat.Guid.class ) ) ; }

Target:
public void canSetNumaConfigurationWithVmFromDb ( ) { mockCommandWithVmFromDb ( ) ; command.executeCommand ( ) ; org.mockito.Mockito.verify ( vmNumaNodeDao ) . massSaveNumaNode ( org.mockito.ArgumentMatchers.eq ( paramNumaNodes ) , org.mockito.ArgumentMatchers.any ( org.ovirt.engine.core.compat.Guid.class ) ) ; }
Source:
private boolean templateExists ( ) { if ( ( ( getVmTemplate ( ) ) == null ) && ( ! ( getParameters ( ) . getCopyCollapse ( ) ) ) ) { addCanDoActionMessage ( VdcBllMessages.ACTION_TYPE_FAILED_TEMPLATE_DOES_NOT_EXIST ) ; return false ; } return true ; }

Target:
private boolean templateExists ( ) { if ( ( ( org.ovirt.engine.core.bll.ImportVmCommand.getVmTemplate ( ) ) == null ) && ( ! ( getParameters ( ) . getCopyCollapse ( ) ) ) ) { return failCanDoAction ( VdcBllMessages.ACTION_TYPE_FAILED_TEMPLATE_DOES_NOT_EXIST ) ; } return true ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( "%s, imageId2 = %s, vmId = %s, postZero = %s" , super . toString ( ) , getImageId2 ( ) , getVmId ( ) , getPostZero ( ) ) ; }

Target:
protected org.ovirt.engine.core.common.utils.ToStringBuilder appendAttributes ( org.ovirt.engine.core.common.utils.ToStringBuilder tsb ) { return super . appendAttributes ( tsb ) . append ( "imageId2" , getImageId2 ( ) ) . append ( "vmId" , getVmId ( ) ) . append ( "postZero" , getPostZero ( ) ) ; }
Source:
public void parametersWithSecureDeletionAreFixedOnFileDomainWhenPostZeroIsTrue ( ) { org.ovirt.engine.core.bll.storage.domain.PostDeleteActionHandlerTest.ParametersWithPostDeleteAction parameters = postDeleteActionHandler.fixParameters ( new org.ovirt.engine.core.bll.storage.domain.PostDeleteActionHandlerTest.ParametersWithPostDeleteAction ( true ) , true ) ; assertPostZeroValue ( parameters , false ) ; }

Target:
public void parametersWithSecureDeletionAreFixedOnFileDomainWhenPostZeroIsTrue ( ) { org.ovirt.engine.core.bll.storage.domain.PostDeleteActionHandlerTest.ParametersWithPostDeleteAction parameters = postDeleteActionHandler.fixPostZeroField ( new org.ovirt.engine.core.bll.storage.domain.PostDeleteActionHandlerTest.ParametersWithPostDeleteAction ( true , false ) , true ) ; assertPostZeroValue ( parameters , false ) ; }
Source:
protected boolean isStoragePoolUnique ( java.lang.String storagePoolName ) { org.ovirt.engine.core.dao.StoragePoolDAO spDao = org.ovirt.engine.core.bll.storage.StoragePoolManagementCommandBase.getStoragePoolDAO ( ) ; java.util.List < org.ovirt.engine.core.common.businessentities.StoragePool > sps = spDao.getByName ( storagePoolName , true ) ; return ( sps == null ) || ( sps.isEmpty ( ) ) ; }

Target:
protected boolean isStoragePoolUnique ( java.lang.String storagePoolName ) { org.ovirt.engine.core.dao.StoragePoolDao spDao = org.ovirt.engine.core.bll.storage.StoragePoolManagementCommandBase.getStoragePoolDao ( ) ; java.util.List < org.ovirt.engine.core.common.businessentities.StoragePool > sps = spDao.getByName ( storagePoolName , true ) ; return ( sps == null ) || ( sps.isEmpty ( ) ) ; }
Source:
protected void handleSpecificCommandActions ( ) { org.ovirt.engine.core.bll.StartVdsCommand.restartVdsVms ( ) ; }

Target:
protected void handleSpecificCommandActions ( ) { org.ovirt.engine.core.bll.RestartVdsVmsOperation restartVmsOper = new org.ovirt.engine.core.bll.RestartVdsVmsOperation ( org.ovirt.engine.core.bll.StartVdsCommand.getContext ( ) , org.ovirt.engine.core.bll.StartVdsCommand.getVds ( ) ) ; restartVmsOper.restartVms ( mVmList ) ; }
Source:
protected java.lang.String generateVmMetadata ( org.ovirt.engine.core.common.businessentities.VM vm , java.util.List < org.ovirt.engine.core.common.businessentities.storage.DiskImage > AllVmImages ) { return ovfManager.exportVm ( vm , AllVmImages , clusterUtils.getCompatibilityVersion ( vm ) ) ; }

Target:
protected java.lang.String generateVmMetadata ( org.ovirt.engine.core.common.businessentities.VM vm , java.util.List < org.ovirt.engine.core.common.businessentities.storage.DiskImage > allVmImages , java.util.List < org.ovirt.engine.core.common.businessentities.storage.LunDisk > lunDisks ) { return ovfManager.exportVm ( vm , allVmImages , lunDisks , clusterUtils.getCompatibilityVersion ( vm ) ) ; }
Source:
public org.ovirt.engine.core.compat.Guid getCurrentVdsIdWithoutSpm ( ) { return mCurrentVdsId ; }

Target:
private void nullifyInternalProxies ( ) { if ( ( privatemIrsProxy ) != null ) { org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcUtils.shutDownConnection ( ( ( org.ovirt.engine.core.vdsbroker.irsbroker.IrsServerWrapper ) ( privatemIrsProxy ) ) . getHttpClient ( ) ) ; } setmCurrentIrsHost ( null ) ; privatemIrsProxy = null ; mCurrentVdsId = null ; }
Source:
private void checkStoragePoolNameLengthFails ( ) { org.junit.Assert.assertTrue ( cmd.CheckStoragePoolNameLengthValid ( ) ) ; }

Target:
private void checkStoragePoolNameLengthFails ( ) { org.junit.Assert.assertTrue ( cmd.checkStoragePoolNameLengthValid ( ) ) ; }
Source:
private void readDedicatedHostsList ( ) { vmBase.setDedicatedVmForVdsList ( new java.util.LinkedList < org.ovirt.engine.core.compat.Guid > ( ) ) ; org.ovirt.engine.core.utils.ovf.xml.XmlNodeList hostsList = _document.SelectNodes ( ( "//*/Content/" + ( OvfProperties.DEDICATED_VM_FOR_VDS ) ) ) ; for ( org.ovirt.engine.core.utils.ovf.xml.XmlNode hostNode : hostsList ) { if ( ( hostNode != null ) && ( org.apache.commons.lang.StringUtils.isNotEmpty ( hostNode.innerText ) ) ) { vmBase.getDedicatedVmForVdsList ( ) . add ( org.ovirt.engine.core.compat.Guid.createGuidFromString ( hostNode.innerText ) ) ; } } }

Target:
private void readDedicatedHostsList ( ) { vmBase.setDedicatedVmForVdsList ( new java.util.LinkedList < org.ovirt.engine.core.compat.Guid > ( ) ) ; org.ovirt.engine.core.utils.ovf.xml.XmlNodeList hostsList = selectNodes ( _document , ( "//*/Content/" + ( OvfProperties.DEDICATED_VM_FOR_VDS ) ) ) ; for ( org.ovirt.engine.core.utils.ovf.xml.XmlNode hostNode : hostsList ) { if ( ( hostNode != null ) && ( org.apache.commons.lang.StringUtils.isNotEmpty ( hostNode.innerText ) ) ) { vmBase.getDedicatedVmForVdsList ( ) . add ( org.ovirt.engine.core.compat.Guid.createGuidFromString ( hostNode.innerText ) ) ; } } }
Source:
public void setMigrationNetwork ( boolean migrationNetwork ) { getEntity ( ) . getCluster ( ) . setMigration ( migrationNetwork ) ; }

Target:
public void setRequired ( boolean required ) { getEntity ( ) . getCluster ( ) . setRequired ( required ) ; }
Source:
public void setEntityId ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase logable ) { logable.setStoragePoolId ( _oldStoragePool.getId ( ) ) ; }

Target:
public java.lang.String getEntityOldName ( ) { return _oldStoragePool.getname ( ) ; }
Source:
protected org.ovirt.engine.ui.uicommonweb.validation.HostAddressValidation getHostValidation ( ) { return new org.ovirt.engine.ui.uicommonweb.validation.HostAddressValidation ( ) ; }

Target:
protected org.ovirt.engine.ui.uicommonweb.validation.HostAddressValidation getHostValidation ( ) { return new org.ovirt.engine.ui.uicommonweb.validation.UriHostAddressValidation ( ) ; }
Source:
public javax.ws.rs.core.Response pause ( org.ovirt.engine.api.model.Action action ) { return performAction ( VdcActionType.UploadImageStatus , prepareStatusParams ( ImageTransferPhase.PAUSED_USER ) ) ; }

Target:
public javax.ws.rs.core.Response pause ( org.ovirt.engine.api.model.Action action ) { return performAction ( VdcActionType.TransferImageStatus , prepareStatusParams ( ImageTransferPhase.PAUSED_USER ) ) ; }
Source:
protected void processResponse ( com.google.gwt.http.client.Response response ) { java.lang.String sessionIdFromHeader = response.getHeader ( org.ovirt.engine.ui.webadmin.plugin.restapi.RestApiSessionManager.SESSION_ID_HEADER ) ; if ( sessionIdFromHeader != null ) { setSessionId ( sessionIdFromHeader ) ; } reuseSession ( ) ; }

Target:
public boolean execute ( ) { java.lang.String sessionId = getSessionId ( ) ; if ( sessionId != null ) { com.google.gwt.http.client.RequestBuilder requestBuilder = createRequest ( ) ; sendRequest ( requestBuilder , new org.ovirt.engine.ui.webadmin.plugin.restapi.RestApiSessionManager.RestApiCallback ( ) { } ) ; return true ; } else { return false ; } }
Source:
public org.ovirt.engine.api.model.Disks list ( ) { return mapCollection ( getBackendCollection ( VdcQueryType.GetAllDisks , new org.ovirt.engine.core.common.queries.VdcQueryParametersBase ( ) ) ) ; }

Target:
public org.ovirt.engine.api.model.Disks list ( ) { return mapCollection ( getBackendCollection ( SearchType.Disk ) ) ; }
Source:
protected org.ovirt.engine.api.model.GlusterVolume addParents ( org.ovirt.engine.api.model.GlusterVolume volume ) { volume.setCluster ( parent.get ( ) ) ; return volume ; }

Target:
protected org.ovirt.engine.api.model.GlusterVolume addParents ( org.ovirt.engine.api.model.GlusterVolume volume ) { volume.setCluster ( new org.ovirt.engine.api.model.Cluster ( ) ) ; volume.getCluster ( ) . setId ( parent.get ( ) . getId ( ) ) ; return volume ; }
Source:
public java.lang.String getdescription ( ) { return this . getvm_description ( ) ; }

Target:
public java.lang.String getVmDescription ( ) { return this . vmStatic.getdescription ( ) ; }
Source:
public void OnSuccess ( java.lang.Object model , java.lang.Object returnValue ) { java.util.List < org.ovirt.engine.core.common.businessentities.gluster.GlusterHookEntity > glusterHooks = ( ( java.util.List < org.ovirt.engine.core.common.businessentities.gluster.GlusterHookEntity > ) ( returnValue ) ) ; setItems ( glusterHooks ) ; }

Target:
public void Executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.ConfirmationModel localModel = ( ( org.ovirt.engine.ui.uicommonweb.models.ConfirmationModel ) ( result.getState ( ) ) ) ; localModel.StopProgress ( ) ; cancelConfirmation ( ) ; }
Source:
private void UpdateCanSpecify ( ) { boolean isChangable = ( bootProtocolsAvailable ) && ( getIsStaticAddress ( ) ) ; getAddress ( ) . setIsChangable ( isChangable ) ; getSubnet ( ) . setIsChangable ( isChangable ) ; getGateway ( ) . setIsChangable ( isChangable ) ; }

Target:
private void updateCanSpecify ( ) { boolean isChangable = ( bootProtocolsAvailable ) && ( getIsStaticAddress ( ) ) ; getAddress ( ) . setIsChangable ( isChangable ) ; getSubnet ( ) . setIsChangable ( isChangable ) ; getGateway ( ) . setIsChangable ( isChangable ) ; }
Source:
public org.ovirt.engine.core.common.AuditLogType getAuditLogTypeValue ( ) { switch ( getParameters ( ) . getAction ( ) ) { case START : if ( getSucceeded ( ) ) { return org.ovirt.engine.core.common.AuditLogType.GLUSTER_VOLUME_REPLACE_BRICK_START ; } else { return org.ovirt.engine.core.common.AuditLogType.GLUSTER_VOLUME_REPLACE_BRICK_START_FAILED ; } default : return org.ovirt.engine.core.common.AuditLogType.GLUSTER_VOLUME_REPLACE_BRICK_FAILED ; } }

Target:
public org.ovirt.engine.core.common.AuditLogType getAuditLogTypeValue ( ) { if ( getSucceeded ( ) ) { return org.ovirt.engine.core.common.AuditLogType.GLUSTER_VOLUME_BRICK_REPLACED ; } else { return org.ovirt.engine.core.common.AuditLogType.GLUSTER_VOLUME_REPLACE_BRICK_FAILED ; } }
Source:
private void mockStorageDomainValidator ( ) { org.mockito.Mockito.doReturn ( storageDomainValidator ) . when ( command ) . getStorageDomainValidator ( org.mockito.Matchers.any ( org.ovirt.engine.core.common.businessentities.StorageDomain.class ) ) ; org.mockito.Mockito.when ( storageDomainValidator.isDomainExistAndActive ( ) ) . thenReturn ( ValidationResult.VALID ) ; }

Target:
private void mockStorageDomainValidator ( ) { org.mockito.Mockito.doReturn ( storageDomainValidator ) . when ( command ) . getStorageDomainValidator ( org.mockito.ArgumentMatchers.any ( ) ) ; org.mockito.Mockito.when ( storageDomainValidator.isDomainExistAndActive ( ) ) . thenReturn ( ValidationResult.VALID ) ; }
Source:
protected boolean addVmLease ( org.ovirt.engine.core.compat.Guid leaseStorageDomainId , org.ovirt.engine.core.compat.Guid vmId ) { if ( leaseStorageDomainId == null ) { return true ; } return runInternalActionWithTasksContext ( VdcActionType.AddVmLease , new org.ovirt.engine.core.common.action.VmLeaseParameters ( getStoragePoolId ( ) , leaseStorageDomainId , vmId ) ) . getSucceeded ( ) ; }

Target:
protected boolean addVmLease ( org.ovirt.engine.core.compat.Guid leaseStorageDomainId , org.ovirt.engine.core.compat.Guid vmId ) { if ( leaseStorageDomainId == null ) { return true ; } return runInternalActionWithTasksContext ( ActionType.AddVmLease , new org.ovirt.engine.core.common.action.VmLeaseParameters ( getStoragePoolId ( ) , leaseStorageDomainId , vmId ) ) . getSucceeded ( ) ; }
Source:
types.Disk [ ] disks ( ) ;

Target:
types.DiskAttachment [ ] diskAttachments ( ) ;
Source:
public boolean eval ( org.ovirt.engine.core.common.businessentities.VM vm ) { return vm.getId ( ) . equals ( getParameters ( ) . getVm ( ) . getId ( ) ) ; }

Target:
public boolean eval ( org.ovirt.engine.core.common.businessentities.VM evalVm ) { return evalVm.getId ( ) . equals ( getParameters ( ) . getVm ( ) . getId ( ) ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? ( ( java.lang.Integer ) ( source ) ) . intValue ( ) : 20480 ; }

Target:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? org.ovirt.engine.core.common.console.ConsoleOptions.WanColorDepth.fromInt ( ( ( java.lang.Integer ) ( source ) ) . intValue ( ) ) : org.ovirt.engine.core.common.console.ConsoleOptions.WanColorDepth.depth16 ; }
Source:
private void unlockVmsManager ( ) { for ( org.ovirt.engine.core.vdsbroker.VmManager vmManager : vmManagers.values ( ) ) { vmManager.unlock ( ) ; } }

Target:
private void unlockVmsManager ( ) { for ( org.ovirt.engine.core.vdsbroker.VmManager vmManager : vmManagers.values ( ) ) { vmManager.updateVmDataChangedTime ( ) ; vmManager.unlock ( ) ; } }
Source:
public void setvm_last_boot_time ( java.util.Date value ) { this . mVmDynamic.setvm_last_boot_time ( value ) ; }

Target:
public void setBalloonEnabled ( boolean isBallonEnabled ) { balloonEnabled = isBallonEnabled ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "is_balloon_enabled" ) ) ; }
Source:
private void assertPatternMatches ( java.lang.String message , java.lang.String pattern , java.lang.String ... validStrings ) { for ( java.lang.String s : validStrings ) { org.junit.Assert.assertTrue ( ( message + s ) , java.util.regex.Pattern.matches ( pattern , s ) ) ; } }

Target:
private void assertPatternMatches ( java.lang.String message , java.lang.String pattern , java.lang.String ... validStrings ) { for ( java.lang.String s : validStrings ) { org.junit.jupiter.api.Assertions.assertTrue ( java.util.regex.Pattern.matches ( pattern , s ) , ( message + s ) ) ; } }
Source:
public void setVdsGroupId ( org.ovirt.engine.core.compat.Guid value ) { vdsStatic.setVdsGroupId ( value ) ; }

Target:
public void setClusterId ( org.ovirt.engine.core.compat.Guid value ) { vdsStatic.setClusterId ( value ) ; }
Source:
public static void updateImageStatus ( org.ovirt.engine.core.compat.Guid imageId , org.ovirt.engine.core.common.businessentities.ImageStatus imageStatus ) { org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getImageDao ( ) . updateStatus ( imageId , imageStatus ) ; }

Target:
public static void updateImageStatus ( org.ovirt.engine.core.compat.Guid imageId , org.ovirt.engine.core.common.businessentities.storage.ImageStatus imageStatus ) { org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getImageDao ( ) . updateStatus ( imageId , imageStatus ) ; }
Source:
public void testSave ( ) { dao.save ( newTag ) ; org.ovirt.engine.core.common.businessentities.Tags result = dao.get ( newTag.getTagId ( ) ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertEquals ( newTag , result ) ; }

Target:
public void testSave ( ) { dao.save ( newTag ) ; org.ovirt.engine.core.common.businessentities.Tags result = dao.get ( newTag.getTagId ( ) ) ; org.junit.jupiter.api.Assertions.assertNotNull ( result ) ; org.junit.jupiter.api.Assertions.assertEquals ( newTag , result ) ; }
Source:
protected org.ovirt.engine.core.compat.Guid createTask ( org.ovirt.engine.core.compat.Guid taskId , 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 ( taskId , asyncTaskCreationInfo , parentCommand , null , entityType , entityIds ) ; }

Target:
protected org.ovirt.engine.core.compat.Guid createTask ( org.ovirt.engine.core.compat.Guid taskId , org.ovirt.engine.core.common.asynctasks.AsyncTaskCreationInfo asyncTaskCreationInfo , org.ovirt.engine.core.common.action.VdcActionType parentCommand , org.ovirt.engine.core.common.VdcObjectType vdcObjectType , org.ovirt.engine.core.compat.Guid ... entityIds ) { return createTask ( taskId , asyncTaskCreationInfo , parentCommand , createEntitiesMapForSingleEntityType ( vdcObjectType , entityIds ) ) ; }
Source:
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 ) ; }

Target:
protected void initTooltip ( ) { tooltip = new org.ovirt.engine.ui.common.widget.tooltip.WidgetTooltip ( getContents ( ) ) ; tooltip.setPlacement ( Placement.BOTTOM ) ; com.google.gwt.safehtml.shared.SafeHtml tooltipContent = org.ovirt.engine.ui.webadmin.section.main.view.popup.host.panels.NetworkItemPanel.infoPopup.getTooltipContent ( item ) ; if ( tooltipContent != null ) { tooltip.setHtml ( tooltipContent ) ; } }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; dao = dbFacade.getPermissionDao ( ) ; new_permissions = new org.ovirt.engine.core.common.businessentities.Permission ( org.ovirt.engine.core.dao.PermissionDaoTest.AD_ELEMENT_ID , org.ovirt.engine.core.dao.PermissionDaoTest.ROLE_ID , org.ovirt.engine.core.dao.PermissionDaoTest.STORAGE_POOL_ID , org.ovirt.engine.core.common.VdcObjectType.StoragePool ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; dao = dbFacade.getPermissionDao ( ) ; new_permissions = new org.ovirt.engine.core.common.businessentities.Permission ( org.ovirt.engine.core.dao.PermissionDaoTest.AD_ELEMENT_ID , org.ovirt.engine.core.dao.PermissionDaoTest.ROLE_ID , FixturesTool.DATA_CENTER , org.ovirt.engine.core.common.VdcObjectType.StoragePool ) ; }
Source:
org.ovirt.engine.core.bll.CommandBase < ? > createAction ( org.ovirt.engine.core.common.action.VdcActionType actionType , org.ovirt.engine.core.common.action.VdcActionParametersBase parameters ) ;

Target:
org.ovirt.engine.core.bll.CommandBase < ? > createAction ( org.ovirt.engine.core.common.action.VdcActionType actionType , org.ovirt.engine.core.common.action.VdcActionParametersBase parameters , org.ovirt.engine.core.bll.context.CommandContext context ) ;
Source:
public org.ovirt.engine.core.common.businessentities.Permissions asPermission ( ) { return new org.ovirt.engine.core.common.businessentities.Permissions ( getad_element_id ( ) , getrole_id ( ) , getObjectId ( ) , getObjectType ( ) ) ; }

Target:
public org.ovirt.engine.core.common.businessentities.Permission asPermission ( ) { return new org.ovirt.engine.core.common.businessentities.Permission ( getAdElementId ( ) , getRoleId ( ) , getObjectId ( ) , getObjectType ( ) ) ; }