auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.util.HashMap < java.lang.String , java.lang.String > getPmSecondaryOptionsMap ( ) { return mVdsStatic.getPmSecondaryOptionsMap ( ) ; }

Target:
public void setSELinuxEnforceMode ( java.lang.Integer value ) { mVdsDynamic.setSELinuxEnforceMode ( value ) ; }
Source:
public void canDoActionSucceedsInitFormatDataDomain ( ) { sd.setStorageFormat ( null ) ; org.ovirt.engine.core.bll.CanDoActionTestUtils.runAndAssertCanDoActionSuccess ( cmd ) ; org.junit.Assert.assertEquals ( "Format not initialized correctly" , StorageFormatType.V3 , sd.getStorageFormat ( ) ) ; }

Target:
public void validateSucceedsInitFormatDataDomain ( ) { sd.setStorageFormat ( null ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateSuccess ( cmd ) ; org.junit.Assert.assertEquals ( "Format not initialized correctly" , StorageFormatType.V3 , sd.getStorageFormat ( ) ) ; }
Source:
public static org.ovirt.engine.core.common.businessentities.StorageDomain findStorageDomainForMemory ( org.ovirt.engine.core.compat.Guid storagePoolId , long sizeRequested ) { return org.ovirt.engine.core.bll.VmHandler.findStorageDomainForMemory ( storagePoolId , sizeRequested , new java.util.HashMap < org.ovirt.engine.core.common.businessentities.StorageDomain , java.lang.Integer > ( ) ) ; }

Target:
public static org.ovirt.engine.core.common.businessentities.StorageDomain findStorageDomainForMemory ( org.ovirt.engine.core.compat.Guid storagePoolId , long sizeRequested ) { return org.ovirt.engine.core.bll.VmHandler.findStorageDomainForMemory ( storagePoolId , sizeRequested , java.util.Collections.< org.ovirt.engine.core.common.businessentities.StorageDomain , java.lang.Integer > emptyMap ( ) ) ; }
Source:
public void onFocus ( com.google.gwt.event.dom.client.FocusEvent event ) { suggestBox.showSuggestionList ( ) ; }

Target:
public void onFocus ( com.google.gwt.event.dom.client.FocusEvent event ) { asSuggestBox ( ) . showSuggestionList ( ) ; }
Source:
private void UpdateQuotaAvailability ( ) { if ( ( disks ) != null ) { for ( org.ovirt.engine.ui.uicommonweb.models.vms.DiskModel diskModel : disks ) { diskModel.getQuota ( ) . setIsAvailable ( ( ( quotaEnforcementType ) != ( org.ovirt.engine.core.common.businessentities.QuotaEnforcementTypeEnum.DISABLED ) ) ) ; } } }

Target:
private void updateQuotaAvailability ( ) { if ( ( disks ) != null ) { for ( org.ovirt.engine.ui.uicommonweb.models.vms.DiskModel diskModel : disks ) { diskModel.getQuota ( ) . setIsAvailable ( ( ( quotaEnforcementType ) != ( org.ovirt.engine.core.common.businessentities.QuotaEnforcementTypeEnum.DISABLED ) ) ) ; } } }
Source:
public org.ovirt.engine.core.common.businessentities.VDSGroup getVdsGroup ( org.ovirt.engine.core.compat.Guid vdsGroupId ) { return org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVdsGroupDao ( ) . get ( vdsGroupId ) ; }

Target:
public org.ovirt.engine.core.common.businessentities.Cluster getCluster ( org.ovirt.engine.core.compat.Guid clusterId ) { return org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getClusterDao ( ) . get ( clusterId ) ; }
Source:
public void testParseMissingType ( ) { org.ovirt.engine.api.restapi.util.FenceOptionsParser.parse ( "foo:one=1" , "two=int" ) ; }

Target:
public void testParseMissingType ( ) { java.util.List < org.ovirt.engine.api.model.PowerManagement > ret = org.ovirt.engine.api.restapi.util.FenceOptionsParser.parse ( "foo:one=1" , "two=int" ) ; assertNotNull ( ret ) ; assertEquals ( 1 , ret.size ( ) ) ; verifyResult ( ret.get ( 0 ) , "foo" ) ; }
Source:
public void removeClusterPolicy ( org.ovirt.engine.core.common.scheduling.ClusterPolicy clusterPolicy ) { getClusterPolicyDao ( ) . remove ( clusterPolicy.getId ( ) ) ; policyMap.remove ( clusterPolicy.getId ( ) ) ; }

Target:
public void removeClusterPolicy ( org.ovirt.engine.core.compat.Guid clusterPolicyId ) { getClusterPolicyDao ( ) . remove ( clusterPolicyId ) ; policyMap.remove ( clusterPolicyId ) ; }
Source:
public void deactivate ( ) { isActive = false ; tabContainer.getElement ( ) . replaceClassName ( style.active ( ) , style.inactive ( ) ) ; }

Target:
public void deactivate ( ) { isActive = false ; tabContainer.getElement ( ) . replaceClassName ( style.obrand_active ( ) , style.inactive ( ) ) ; }
Source:
private void logQueryContext ( java.lang.String actualUserGuid , java.lang.String actualUri , java.lang.String actualCurrentLdapServer ) { org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos.JndiAction.log.debug ( ( "User guid is: " + actualUserGuid ) ) ; org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos.JndiAction.log.debug ( ( "URI is: " + actualUri ) ) ; org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos.JndiAction.log.debug ( ( "Complete query path is: " + actualCurrentLdapServer ) ) ; }

Target:
private void logQueryContext ( java.lang.String actualUserGuid , java.lang.String actualUri , java.lang.String actualCurrentLdapServer ) { org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos.JndiAction.log.debug ( "User guid is: {}" , actualUserGuid ) ; org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos.JndiAction.log.debug ( "URI is: {}" , actualUri ) ; org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos.JndiAction.log.debug ( "Complete query path is: {}" , actualCurrentLdapServer ) ; }
Source:
public void testQuotaVdsGroupByQuotaGuidWithGeneralDefaultWithEmpty ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.QuotaVdsGroup > quotaVdsGroupList = dao.getQuotaVdsGroupByQuotaGuidWithGeneralDefault ( FixturesTool.QUOTA_EMPTY ) ; org.junit.Assert.assertNotNull ( quotaVdsGroupList ) ; org.junit.Assert.assertEquals ( "wrong number of quotas returned" , 0 , quotaVdsGroupList.size ( ) ) ; }

Target:
public void testQuotaClusterByQuotaGuidWithGeneralDefaultWithEmpty ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.QuotaCluster > quotaClusterList = dao.getQuotaClusterByQuotaGuidWithGeneralDefault ( FixturesTool.QUOTA_EMPTY ) ; org.junit.Assert.assertNotNull ( quotaClusterList ) ; org.junit.Assert.assertEquals ( "wrong number of quotas returned" , 0 , quotaClusterList.size ( ) ) ; }
Source:
public void storagePoolIdNull ( ) { final org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase b = new org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase ( ) ; b.setStoragePoolId ( null ) ; final org.ovirt.engine.core.compat.Guid n = b.getStoragePoolId ( ) ; org.junit.Assert.assertNull ( n ) ; }

Target:
public void storagePoolIdDefault ( ) { final org.ovirt.engine.core.compat.Guid n = b.getStoragePoolId ( ) ; org.junit.Assert.assertNull ( n ) ; }
Source:
public java.lang.String getNetworkName ( ) { return ( getPersistedNetwork ( ) ) == null ? null : getPersistedNetwork ( ) . getName ( ) ; }

Target:
protected org.ovirt.engine.core.compat.Version getClusterVersion ( ) { return org.ovirt.engine.core.bll.network.cluster.AttachNetworkToVdsGroupCommand.getVdsGroup ( ) . getCompatibilityVersion ( ) ; }
Source:
private org.ovirt.engine.core.compat.Guid createTaskImpl ( org.ovirt.engine.core.compat.Guid taskId , org.ovirt.engine.core.common.asynctasks.AsyncTaskCreationInfo asyncTaskCreationInfo , org.ovirt.engine.core.common.action.VdcActionType parentCommand , java.lang.String description , java.util.Map < org.ovirt.engine.core.compat.Guid , org.ovirt.engine.core.common.VdcObjectType > entitiesMap ) { return org.ovirt.engine.core.bll.tasks.CommandCoordinatorUtil.createTask ( taskId , this , asyncTaskCreationInfo , parentCommand , description , entitiesMap ) ; }

Target:
private org.ovirt.engine.core.compat.Guid createTaskImpl ( org.ovirt.engine.core.compat.Guid taskId , org.ovirt.engine.core.common.asynctasks.AsyncTaskCreationInfo asyncTaskCreationInfo , org.ovirt.engine.core.common.action.VdcActionType parentCommand , java.lang.String description , java.util.Map < org.ovirt.engine.core.compat.Guid , org.ovirt.engine.core.common.VdcObjectType > entitiesMap ) { return org.ovirt.engine.core.bll.tasks.CommandCoordinatorUtil.createTask ( taskId , this , asyncTaskCreationInfo , getRootCommandType ( parentCommand ) , description , entitiesMap ) ; }
Source:
public void setBootProtocol ( org.ovirt.engine.core.common.businessentities.network.NetworkBootProtocol bootProtocol ) { this . bootProtocol = ( bootProtocol == null ) ? org.ovirt.engine.core.common.businessentities.network.NetworkBootProtocol.NONE : bootProtocol ; }

Target:
public void setBootProtocol ( org.ovirt.engine.core.common.businessentities.network.Ipv4BootProtocol bootProtocol ) { this . bootProtocol = ( bootProtocol == null ) ? org.ovirt.engine.core.common.businessentities.network.Ipv4BootProtocol.NONE : bootProtocol ; }
Source:
public void testIpConfiguredForStaticBootProtocolWhenIpConfigurationIsNotNullAndBootProtocolIsStaticAndNetmaskIsNull ( ) throws java.lang.Exception { org.ovirt.engine.core.common.businessentities.network.NetworkAttachment attachment = createNetworkAttachmentWithIpConfiguration ( NetworkBootProtocol.STATIC_IP , "192.168.1.1" , null ) ; org.junit.Assert.assertThat ( createNetworkAttachmentValidator ( attachment ) . ipConfiguredForStaticBootProtocol ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( VdcBllMessages.NETWORK_ADDR_MANDATORY_IN_STATIC_IP ) ) ; }

Target:
public void testIpConfiguredForStaticBootProtocolWhenIpConfigurationIsNotNullAndBootProtocolIsStaticAndNetmaskIsNull ( ) throws java.lang.Exception { doTestIpConfiguredForStaticBootProtocol ( "192.168.1.1" , null ) ; }
Source:
public java.lang.Object call ( ) throws java.lang.Exception { org.ovirt.engine.core.common.businessentities.VDSGroup vdsGroup = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVdsGroupDao ( ) . get ( _vds.getvds_group_id ( ) ) ; _parser.cliEnvironmentSet ( GlusterEnv.ENABLE , vdsGroup.supportsGlusterService ( ) ) ; return null ; }

Target:
public java.lang.Object call ( ) throws java.lang.Exception { org.ovirt.engine.core.common.businessentities.VDSGroup vdsGroup = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVdsGroupDao ( ) . get ( _vds.getVdsGroupId ( ) ) ; _parser.cliEnvironmentSet ( GlusterEnv.ENABLE , vdsGroup.supportsGlusterService ( ) ) ; return null ; }
Source:
public org.ovirt.engine.api.v3.types.V3Disks list ( ) { return adaptList ( getDelegate ( ) :: list ) ; }

Target:
public org.ovirt.engine.api.v3.types.V3Disks list ( ) { org.ovirt.engine.api.v3.types.V3Disks disks = adaptList ( getDelegate ( ) :: list ) ; loadAttachmentDataToDisks ( disks ) ; return disks ; }
Source:
protected java.util.List < org.ovirt.engine.core.common.businessentities.network.NetworkAttachment > getNetworkAttachments ( ) { return getBackendCollection ( VdcQueryType.GetNetworkAttachmentsByHostId , new org.ovirt.engine.core.common.queries.IdQueryParameters ( getHostId ( ) ) ) ; }

Target:
protected java.util.List < org.ovirt.engine.api.model.NetworkAttachment > getNetworkAttachments ( ) { verifyIfHostExistsToHandle404StatusCode ( ) ; return getBackendCollection ( VdcQueryType.GetNetworkAttachmentsByHostId , new org.ovirt.engine.core.common.queries.IdQueryParameters ( getHostId ( ) ) ) ; }
Source:
public void testCacheFilterPatternMatches_PositiveMatch3 ( ) { org.mockito.Mockito.when ( mockRequest.getRequestURI ( ) ) . thenReturn ( "/whatever/something.css" ) ; org.junit.Assert.assertTrue ( testFilter.cacheFilterPatternMatches ( mockRequest ) ) ; }

Target:
public void testCacheFilterPatternMatches_PositiveMatch3 ( ) { org.mockito.Mockito.when ( mockRequest.getRequestURI ( ) ) . thenReturn ( "/whatever/something.css" ) ; org.junit.jupiter.api.Assertions.assertTrue ( testFilter.cacheFilterPatternMatches ( mockRequest ) ) ; }
Source:
public void testGet ( ) throws java.lang.Exception { setUriInfo ( org.ovirt.engine.api.restapi.resource.BackendTemplateBasedResourceTest.setUpBasicUriExpectations ( ) ) ; setUpGetEntityExpectations ( 1 ) ; control.replay ( ) ; verifyModel ( resource.get ( ) , 0 ) ; }

Target:
public void testGet ( ) throws java.lang.Exception { setUriInfo ( org.ovirt.engine.api.restapi.resource.BackendTemplateBasedResourceTest.setUpBasicUriExpectations ( ) ) ; setUpGetGraphicsExpectations ( 1 ) ; setUpGetEntityExpectations ( 1 ) ; control.replay ( ) ; verifyModel ( resource.get ( ) , 0 ) ; }
Source:
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 ( ) ) ; } }

Target:
protected void handlePlaceTransition ( ) { 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 canDoActionSucceedsNoPool ( ) { sd.setStorageFormat ( null ) ; vds.setStoragePoolId ( null ) ; org.ovirt.engine.core.bll.CanDoActionTestUtils.runAndAssertCanDoActionSuccess ( cmd ) ; }

Target:
public void canDoActionSucceedsPoolNotSpecified ( ) { sd.setStorageFormat ( null ) ; vds.setStoragePoolId ( null ) ; org.ovirt.engine.core.bll.CanDoActionTestUtils.runAndAssertCanDoActionSuccess ( cmd ) ; }
Source:
public void setCpuLoad ( java.lang.Double value ) { this . mVdsStatistics.setcpu_load ( value ) ; }

Target:
public java.lang.Double getCpuIdle ( ) { return this . mVdsStatistics.getCpuIdle ( ) ; }
Source:
public void testGetTemplatesForStorageDomain ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.OvfEntityData > ovfEntityDataList = dao.getAllForStorageDomainByEntityType ( FixturesTool.STORAGE_DOMAIN_NFS2_1 , VmEntityType.TEMPLATE ) ; org.junit.Assert.assertTrue ( "A Template should be fetched for the specified storage domain" , ( ! ( ovfEntityDataList.isEmpty ( ) ) ) ) ; }

Target:
public void testGetTemplatesForStorageDomain ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.OvfEntityData > ovfEntityDataList = dao.getAllForStorageDomainByEntityType ( FixturesTool.STORAGE_DOMAIN_NFS2_1 , VmEntityType.TEMPLATE ) ; org.junit.jupiter.api.Assertions.assertTrue ( ( ! ( ovfEntityDataList.isEmpty ( ) ) ) , "A Template should be fetched for the specified storage domain" ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery asyncQuery ) { if ( source == null ) { return new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.VM > ( ) ; } return source ; }

Target:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { if ( source == null ) { return new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.network.VnicProfileView > ( ) ; } return source ; }
Source:
public org.ovirt.engine.core.common.businessentities.Bookmark getByName ( java.lang.String name ) { final javax.persistence.TypedQuery < org.ovirt.engine.core.common.businessentities.Bookmark > query = entityManager.createNamedQuery ( "Bookmark.byName" , org.ovirt.engine.core.common.businessentities.Bookmark.class ) ; query.setParameter ( "name" , name ) ; return singleResult ( query ) ; }

Target:
public org.ovirt.engine.core.common.businessentities.Bookmark getByName ( java.lang.String name ) { final javax.persistence.TypedQuery < org.ovirt.engine.core.common.businessentities.Bookmark > query = getEntityManager ( ) . createNamedQuery ( "Bookmark.byName" , org.ovirt.engine.core.common.businessentities.Bookmark.class ) ; query.setParameter ( "name" , name ) ; return singleResult ( query ) ; }
Source:
protected void executeVdsIdCommand ( ) { org.ovirt.engine.core.vdsbroker.ResourceManager.getInstance ( ) . removeVds ( org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand.getVdsId ( ) , parameters.isNewHost ( ) ) ; }

Target:
protected void executeVdsIdCommand ( ) { resourceManager.removeVds ( org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand.getVdsId ( ) , parameters.isNewHost ( ) ) ; }
Source:
public void setStaticIpChangeAllowed ( boolean staticIpChangeAllowed ) { this . staticIpChangeAllowed = staticIpChangeAllowed ; updateCanSpecify ( ) ; }

Target:
public void setStaticIpv6ChangeAllowed ( boolean value ) { this . staticIpv6ChangeAllowed = value ; updateCanSpecifyIpv6 ( ) ; }
Source:
public java.lang.String getStoragePoolName ( ) { if ( ( getStoragePool ( ) ) != null ) { return getStoragePool ( ) . getName ( ) ; } return "" ; }

Target:
public java.lang.String getStoragePoolName ( ) { if ( ( ( storagePoolName ) == null ) && ( ( getStoragePool ( ) ) != null ) ) { storagePoolName = getStoragePool ( ) . getName ( ) ; } return org.apache.commons.lang.StringUtils.defaultString ( storagePoolName ) ; }
Source:
protected void PostInitTemplate ( ) { setupWindowModelFrom ( pool.getStaticData ( ) ) ; getModel ( ) . setIsDisksAvailable ( true ) ; }

Target:
protected void postInitTemplate ( ) { setupWindowModelFrom ( pool.getStaticData ( ) ) ; getModel ( ) . setIsDisksAvailable ( true ) ; }
Source:
public boolean StorageDomainRemoved ( org.ovirt.engine.core.common.businessentities.storage_domain_static storageDomain ) { removeStorageDomainLuns ( storageDomain ) ; return true ; }

Target:
public boolean storageDomainRemoved ( org.ovirt.engine.core.common.businessentities.StorageDomainStatic storageDomain ) { removeStorageDomainLuns ( storageDomain ) ; return true ; }
Source:
public void testExistingDiscardAfterDeleteFunctionalityPreservedAllLunsHaveDiscardAfterDeleteFunctionality ( ) { storageDomain.setDiscardAfterDelete ( true ) ; org.junit.Assert.assertTrue ( discardHelper.isExistingDiscardAfterDeleteFunctionalityPreserved ( java.util.Arrays.asList ( createLunWithDiscardFunctionality ( 1024L , false ) , createLunWithDiscardFunctionality ( 2048L , true ) ) , storageDomain ) ) ; }

Target:
public void testGetLunsThatBreakDiscardAfterDeleteSupportStorageDomainDiscardAfterDeleteDisabled ( ) { storageDomain.setDiscardAfterDelete ( false ) ; assertGetLunsThatBreakDiscardAfterDeleteSupportContainsExpectedLuns ( java.util.Arrays.asList ( createLunWithDiscardSupport ( 1024L ) , createLunWithDiscardSupport ( 0L ) ) , java.util.Collections.emptyList ( ) ) ; }
Source:
public void getIdByTypeReturnsIdForExistingByTypeAndStatus ( ) { org.junit.Assert.assertEquals ( getExistingEntityId ( ) , dao.getId ( org.ovirt.engine.core.dao.SnapshotDaoTest.EXISTING_VM_ID , SnapshotType.REGULAR ) ) ; }

Target:
public void getIdByTypeReturnsIdForExistingByTypeAndStatus ( ) { org.junit.jupiter.api.Assertions.assertEquals ( getExistingEntityId ( ) , dao.getId ( org.ovirt.engine.core.dao.SnapshotDaoTest.EXISTING_VM_ID , SnapshotType.REGULAR ) ) ; }
Source:
public void update ( int index , org.ovirt.engine.ui.uicommonweb.models.EntityModel model , java.lang.Boolean value ) { org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterNetworkManageModel clusterNetworkManageModel = ( ( org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterNetworkManageModel ) ( model ) ) ; changeIsAttached ( clusterNetworkManageModel , value ) ; refreshNetworksTable ( ) ; }

Target:
public void update ( int index , org.ovirt.engine.ui.uicommonweb.models.EntityModel model , java.lang.Boolean value ) { org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterNetworkModel clusterNetworkManageModel = ( ( org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterNetworkModel ) ( model ) ) ; changeIsAttached ( clusterNetworkManageModel , value ) ; refreshNetworksTable ( ) ; }
Source:
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 ( ) ; cancel ( ) ; }

Target:
public void onSuccess ( org.ovirt.engine.core.common.businessentities.Cluster cluster ) { if ( cluster != null ) { powerAction ( actionName , title , message , cluster.isOptionalReasonRequired ( ) ) ; } }
Source:
public void setEntity ( org.ovirt.engine.core.common.businessentities.network.NetworkView value ) { super . setEntity ( value ) ; }

Target:
private void setRemoveCommand ( org.ovirt.engine.ui.uicommonweb.UICommand value ) { removeCommand = value ; }
Source:
public java.lang.String getStorageDomainName ( ) { if ( ( getStorageDomain ( ) ) != null ) { return getStorageDomain ( ) . getstorage_name ( ) ; } return "" ; }

Target:
public java.lang.String getStorageDomainName ( ) { if ( ( getStorageDomain ( ) ) != null ) { return getStorageDomain ( ) . getStorageName ( ) ; } return "" ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? new java.util.ArrayList < org.ovirt.engine.core.compat.RpmVersion > ( ( ( java.util.ArrayList < org.ovirt.engine.core.compat.RpmVersion > ) ( source ) ) ) : new java.util.ArrayList < org.ovirt.engine.core.compat.RpmVersion > ( ) ; }

Target:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? ( ( java.lang.Integer ) ( source ) ) : 0 ; }
Source:
private static org.ovirt.engine.core.common.businessentities.StorageFormatType getStorageFormatTypeForPool ( java.sql.ResultSet rs ) throws java.sql.SQLException { return org.ovirt.engine.core.common.businessentities.StorageFormatType.forValue ( rs.getString ( "storage_pool_format_type" ) ) ; }

Target:
public java.util.List < org.ovirt.engine.core.common.businessentities.StorageType > getStorageTypesInPool ( org.ovirt.engine.core.compat.Guid storagePoolId ) { org.springframework.jdbc.core.namedparam.MapSqlParameterSource parameterSource = getCustomMapSqlParameterSource ( ) . addValue ( "storage_pool_id" , storagePoolId ) ; return getCallsHandler ( ) . executeReadList ( "GetStorageTypesInPoolByPoolId" , org.ovirt.engine.core.dao.StoragePoolDAODbFacadeImpl.storageTypeRowMapper , parameterSource ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.VDS getServer ( ) { org.ovirt.engine.core.common.businessentities.VDS server = new org.ovirt.engine.core.common.businessentities.VDS ( ) ; server.setId ( org.ovirt.engine.core.compat.Guid.NewGuid ( ) ) ; server.setVdsName ( "VDS1" ) ; server.setStatus ( VDSStatus.Up ) ; server.setVdsGroupId ( org.ovirt.engine.core.bll.gluster.RefreshGlusterHooksCommandTest.CLUSTER_ID ) ; return server ; }

Target:
protected org.ovirt.engine.core.common.businessentities.VDS getServer ( ) { org.ovirt.engine.core.common.businessentities.VDS server = new org.ovirt.engine.core.common.businessentities.VDS ( ) ; server.setId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; server.setVdsName ( "VDS1" ) ; server.setStatus ( VDSStatus.Up ) ; server.setVdsGroupId ( org.ovirt.engine.core.bll.gluster.RefreshGlusterHooksCommandTest.CLUSTER_ID ) ; return server ; }
Source:
public void interfaceBasedOnNullIface ( ) { org.junit.Assert.assertFalse ( org.ovirt.engine.core.utils.NetworkUtils.interfaceBasedOn ( createVlan ( org.ovirt.engine.core.utils.NetworkUtilsTest.IFACE_NAME ) , null ) ) ; }

Target:
public void interfaceBasedOnNullIface ( ) { org.junit.jupiter.api.Assertions.assertFalse ( org.ovirt.engine.core.utils.NetworkUtils.interfaceBasedOn ( createVlan ( org.ovirt.engine.core.utils.NetworkUtilsTest.IFACE_NAME ) , null ) ) ; }
Source:
private java.lang.String createVncInvocationInfo ( ) { return new org.ovirt.engine.ui.common.view.popup.ConsolePopupView.KeyValueHtmlRowMaker ( constants.nativeClient ( ) , constants.consoleInvokeNative ( ) ) . append ( constants.noVnc ( ) , constants.invokeNoVnc ( ) ) . toString ( ) ; }

Target:
private java.lang.String createVncInvocationInfo ( ) { return new org.ovirt.engine.ui.common.view.popup.ConsolePopupView.KeyValueHtmlRowMaker ( org.ovirt.engine.ui.common.view.popup.ConsolePopupView.constants.nativeClient ( ) , org.ovirt.engine.ui.common.view.popup.ConsolePopupView.constants.consoleInvokeNative ( ) ) . append ( org.ovirt.engine.ui.common.view.popup.ConsolePopupView.constants.noVnc ( ) , org.ovirt.engine.ui.common.view.popup.ConsolePopupView.constants.invokeNoVnc ( ) ) . toString ( ) ; }
Source:
private void setUpGetCertuficateExpectations ( ) throws java.lang.Exception { setUpGetEntityExpectations ( VdcQueryType.GetVdsCertificateSubjectByVmId , org.ovirt.engine.core.common.queries.IdQueryParameters.class , new java.lang.String [ ] { "Id" } , new java.lang.Object [ ] { GUIDS [ 0 ] } , org.ovirt.engine.api.restapi.resource.BackendVmResourceTest.CERTIFICATE ) ; }

Target:
private void setUpGetCertuficateExpectations ( ) throws java.lang.Exception { setUpGetEntityExpectations ( QueryType.GetVdsCertificateSubjectByVmId , org.ovirt.engine.core.common.queries.IdQueryParameters.class , new java.lang.String [ ] { "Id" } , new java.lang.Object [ ] { GUIDS [ 0 ] } , org.ovirt.engine.api.restapi.resource.BackendVmResourceTest.CERTIFICATE ) ; }
Source:
public void setMasterDomain ( java.lang.String spUuid , java.lang.String masterSdUuid ) { org.ovirt.vdsmfake.service.VdsmManager.getInstance ( ) . setMasterDomain ( spUuid , masterSdUuid ) ; }

Target:
public void setMasterDomain ( java.lang.String spUuid , java.lang.String masterSdUuid ) { org.ovirt.vdsmfake.domain.VdsmManager.getInstance ( ) . setMasterDomain ( spUuid , masterSdUuid ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? ( ( java.util.ArrayList < org.ovirt.engine.core.common.businessentities.storage.Disk > ) ( source ) ) : new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.storage.Disk > ( ) ; }

Target:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? ( ( java.util.ArrayList < org.ovirt.engine.core.common.businessentities.storage.Disk > ) ( source ) ) : new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.storage.Disk > ( ) ; }
Source:
private java.lang.String generateUniqueVmName ( ) { java.lang.String currentVmName ; do { currentVmName = nameForVmInPoolGenerator.generateVmName ( ) ; } while ( org.ovirt.engine.core.bll.VmHandler.isVmWithSameNameExistStatic ( currentVmName ) ) ; return currentVmName ; }

Target:
private java.lang.String generateUniqueVmName ( ) { java.lang.String currentVmName ; do { currentVmName = nameForVmInPoolGenerator.generateVmName ( ) ; } while ( org.ovirt.engine.core.bll.VmHandler.isVmWithSameNameExistStatic ( currentVmName , org.ovirt.engine.core.bll.CommonVmPoolWithVmsCommand.getStoragePoolId ( ) ) ) ; return currentVmName ; }
Source:
public void update ( int index , org.ovirt.engine.core.common.businessentities.Quota quota , java.lang.String value ) { transitionHandler.handleTransition ( quota ) ; }

Target:
public void update ( int index , org.ovirt.engine.core.common.businessentities.Quota quota , java.lang.String value ) { transitionHandler.handlePlaceTransition ( ) ; }
Source:
private boolean isNextRunRequested ( ) { return org.ovirt.engine.api.common.util.QueryHelper.getBooleanMatrixParameter ( uriInfo , org.ovirt.engine.api.restapi.resource.BackendVmResource.NEXT_RUN , true , false ) ; }

Target:
private boolean isNextRunRequested ( ) { return org.ovirt.engine.api.common.util.ParametersHelper.getBooleanParameter ( httpHeaders , uriInfo , org.ovirt.engine.api.restapi.resource.BackendVmResource.NEXT_RUN , true , false ) ; }
Source:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? ( ( java.util.ArrayList < org.ovirt.engine.core.common.businessentities.ActionGroup > ) ( source ) ) : new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.ActionGroup > ( ) ; }

Target:
public void getRoleActionGroupsByRoleId ( org.ovirt.engine.ui.frontend.AsyncQuery < java.util.List < org.ovirt.engine.core.common.businessentities.ActionGroup > > aQuery , org.ovirt.engine.core.compat.Guid roleId ) { aQuery.converterCallback = new org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.ListConverter < > ( ) ; org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runQuery ( VdcQueryType.GetRoleActionGroupsByRoleId , new org.ovirt.engine.core.common.queries.IdQueryParameters ( roleId ) , aQuery ) ; }
Source:
public static org.ovirt.engine.core.bll.CommandBase < ? extends org.ovirt.engine.core.common.action.VdcActionParametersBase > [ ] data ( ) { return new org.ovirt.engine.core.bll.CommandBase < ? > [ ] { new org.ovirt.engine.core.bll.CreateSnapshotCommand ( new org.ovirt.engine.core.common.action.ImagesActionsParametersBase ( ) ) } ; }

Target:
public static org.ovirt.engine.core.bll.CommandBase < ? extends org.ovirt.engine.core.common.action.VdcActionParametersBase > [ ] data ( ) { return new org.ovirt.engine.core.bll.CommandBase < ? > [ ] { new org.ovirt.engine.core.bll.CreateSnapshotCommand ( new org.ovirt.engine.core.common.action.ImagesActionsParametersBase ( ) ) , new org.ovirt.engine.core.bll.AddImageFromScratchCommand ( new org.ovirt.engine.core.common.action.AddImageFromScratchParameters ( ) ) } ; }
Source:
public org.ovirt.engine.api.model.Host get ( ) { if ( isForce ( ) ) { performAction ( VdcActionType.RefreshHost , new org.ovirt.engine.core.common.action.VdsActionParameters ( guid ) ) ; } org.ovirt.engine.api.model.Host host = getVdsByVdsId ( ) ; deprecatedAddLinksToAgents ( host ) ; return host ; }

Target:
public org.ovirt.engine.core.common.businessentities.BusinessEntityMap < org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface > getBackendNics ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface > backendNics = getBackendCollection ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface.class , VdcQueryType.GetVdsInterfacesByVdsId , new org.ovirt.engine.core.common.queries.IdQueryParameters ( guid ) ) ; return new org.ovirt.engine.core.common.businessentities.BusinessEntityMap < org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface > ( backendNics ) ; }
Source:
private void OnSystemTreeSelectedItemChanged ( ) { UpdateActionAvailability ( ) ; }

Target:
public void setSystemTreeSelectedItem ( org.ovirt.engine.ui.uicommonweb.models.SystemTreeItemModel value ) { if ( ( systemTreeSelectedItem ) != value ) { systemTreeSelectedItem = value ; onSystemTreeSelectedItemChanged ( ) ; } }
Source:
private org.ovirt.engine.core.dao.gluster.GlusterDBUtils getDbUtils ( ) { return org.ovirt.engine.core.dao.gluster.GlusterDBUtils.getInstance ( ) ; }

Target:
private org.ovirt.engine.core.dao.gluster.GlusterDBUtils getDbUtils ( ) { return org.ovirt.engine.core.di.Injector.get ( org.ovirt.engine.core.dao.gluster.GlusterDBUtils.class ) ; }
Source:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.GetQuotaByStoragePoolIdQuery.getQueryReturnValue ( ) . setReturnValue ( org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getQuotaDAO ( ) . getQuotaByStoragePoolGuid ( org.ovirt.engine.core.bll.GetQuotaByStoragePoolIdQuery.getParameters ( ) . getStoragePoolId ( ) ) ) ; }

Target:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.GetQuotaByStoragePoolIdQuery.getQueryReturnValue ( ) . setReturnValue ( org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getQuotaDao ( ) . getQuotaByStoragePoolGuid ( org.ovirt.engine.core.bll.GetQuotaByStoragePoolIdQuery.getParameters ( ) . getStoragePoolId ( ) ) ) ; }
Source:
public void testGetAll ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.VM > result = dao.getAll ( ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertFalse ( result.isEmpty ( ) ) ; org.junit.Assert.assertEquals ( org.ovirt.engine.core.dao.VmDAOTest.VM_COUNT , result.size ( ) ) ; }

Target:
private static void assertCorrectGetAllResult ( java.util.List < org.ovirt.engine.core.common.businessentities.VM > result ) { org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertFalse ( result.isEmpty ( ) ) ; org.junit.Assert.assertEquals ( org.ovirt.engine.core.dao.VmDAOTest.VM_COUNT , result.size ( ) ) ; }
Source:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { callback.vnicCreated ( vmId ) ; }

Target:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { callback.vnicCreated ( vmId ) ; }
Source:
public void init ( ) { startProgress ( ) ; setTitle ( constants.importVirtualMachinesTitle ( ) ) ; setHelpTag ( HelpTag.import_virtual_machine ) ; setHashName ( "import_virtual_machine" ) ; initDataCenters ( ) ; }

Target:
public void init ( ) { startProgress ( ) ; setTitle ( constants.importVirtualMachinesTitle ( ) ) ; setHelpTag ( HelpTag.import_virtual_machine ) ; setHashName ( "import_virtual_machine" ) ; initDataCenters ( ) ; initDataCenterCpuArchitectureMap ( ) ; }
Source:
public void setOptionalActions ( java.util.List < org.ovirt.engine.ui.uicommonweb.UICommand > value ) { if ( ( optionalActions ) != value ) { optionalActions = value ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "OptionalActions" ) ) ; } }

Target:
public void setOptionalActions ( java.util.List < org.ovirt.engine.ui.uicommonweb.UICommand > value ) { if ( ( optionalActions ) != value ) { optionalActions = value ; OnPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "OptionalActions" ) ) ; } }
Source:
protected abstract void initSelectedNetwork ( ) ;

Target:
protected abstract org.ovirt.engine.core.common.businessentities.network.VmNetworkInterface getNic ( ) ;
Source:
public java.lang.Integer getutc_diff ( ) { return this . mVmDynamic.getutc_diff ( ) ; }

Target:
public void setExitMessage ( java.lang.String value ) { this . vmDynamic.setExitMessage ( value ) ; }
Source:
public void clusterAlreadyInLocalFs ( ) { prepareManagementNetworkMocks ( ) ; createCommandWithDefaultVdsGroup ( ) ; oldGroupIsDetachedDefault ( ) ; storagePoolIsLocalFS ( ) ; setupCpu ( ) ; allQueriesForVms ( ) ; storagePoolAlreadyHasCluster ( ) ; architectureIsUpdatable ( ) ; canDoActionFailedWithReason ( VdcBllMessages.VDS_GROUP_CANNOT_ADD_MORE_THEN_ONE_HOST_TO_LOCAL_STORAGE ) ; }

Target:
public void clusterAlreadyInLocalFs ( ) { prepareManagementNetworkMocks ( ) ; createCommandWithDefaultVdsGroup ( ) ; oldGroupIsDetachedDefault ( ) ; storagePoolIsLocalFS ( ) ; setupCpu ( ) ; allQueriesForVms ( ) ; storagePoolAlreadyHasCluster ( ) ; architectureIsUpdatable ( ) ; canDoActionFailedWithReason ( EngineMessage.VDS_GROUP_CANNOT_ADD_MORE_THEN_ONE_HOST_TO_LOCAL_STORAGE ) ; }
Source:
public void executeCommand ( org.ovirt.engine.ui.uicommonweb.UICommand uiCommand , java.lang.Object ... parameters ) { Test ( ) ; }

Target:
public void executeCommand ( org.ovirt.engine.ui.uicommonweb.UICommand uiCommand , java.lang.Object ... parameters ) { test ( ) ; }
Source:
private void UseUserAuth_EntityChanged ( java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { UpdateUserAuthFields ( ) ; }

Target:
private void useUserAuth_EntityChanged ( java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { updateUserAuthFields ( ) ; }
Source:
public void testGet ( ) { org.ovirt.engine.core.common.businessentities.network.NetworkAttachment result = dao.get ( FixturesTool.NETWORK_ATTACHMENT ) ; org.junit.Assert.assertNotNull ( result ) ; assertNetworkAttachmentEquals ( networkAttachmentFromFixtures ( ) , result ) ; }

Target:
public void testGet ( ) { org.ovirt.engine.core.common.businessentities.network.NetworkAttachment result = dao.get ( FixturesTool.NETWORK_ATTACHMENT ) ; org.junit.jupiter.api.Assertions.assertNotNull ( result ) ; assertNetworkAttachmentEquals ( networkAttachmentFromFixtures ( ) , result ) ; }
Source:
protected void incrementDbGeneration ( ) { org.ovirt.engine.core.bll.MoveVmCommand.getVmStaticDAO ( ) . incrementDbGeneration ( org.ovirt.engine.core.bll.MoveVmCommand.getVm ( ) . getId ( ) ) ; }

Target:
protected void incrementDbGeneration ( ) { org.ovirt.engine.core.bll.MoveVmCommand.getVmStaticDao ( ) . incrementDbGeneration ( org.ovirt.engine.core.bll.MoveVmCommand.getVm ( ) . getId ( ) ) ; }
Source:
public void updatePanel ( final org.ovirt.engine.ui.uicommonweb.models.vms.SnapshotModel snapshotModel ) { snapshotModel.updateVmConfiguration ( new org.ovirt.engine.ui.frontend.INewAsyncCallback ( ) { @ java.lang.Override public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { updateTabsData ( snapshotModel ) ; } } ) ; }

Target:
public void updatePanel ( final org.ovirt.engine.ui.uicommonweb.models.vms.SnapshotModel snapshotModel ) { snapshotModel.updateVmConfiguration ( new org.ovirt.engine.ui.frontend.AsyncCallback < java.lang.Void > ( ) { @ java.lang.Override public void onSuccess ( java.lang.Void returnValue ) { updateTabsData ( snapshotModel ) ; } } ) ; }
Source:
public void testExistAndUpInvalid ( ) { storagePool.setStatus ( StoragePoolStatus.NonResponsive ) ; org.junit.Assert.assertThat ( validator.existsAndUp ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.ACTION_TYPE_FAILED_IMAGE_REPOSITORY_NOT_FOUND ) ) ; }

Target:
public void testExistAndUpInvalid ( ) { storagePool.setStatus ( StoragePoolStatus.NonResponsive ) ; org.junit.Assert.assertThat ( validator.existsAndUp ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.ACTION_TYPE_FAILED_STORAGE_POOL_STATUS_ILLEGAL ) ) ; }
Source:
protected org.ovirt.engine.api.model.VM setUpVm ( org.ovirt.engine.core.compat.Guid id ) { org.ovirt.engine.api.model.VM vm = control.createMock ( org.ovirt.engine.api.model.VM.class ) ; org.easymock.classextension.EasyMock.expect ( vm.getId ( ) ) . andReturn ( id ) . anyTimes ( ) ; return vm ; }

Target:
protected org.ovirt.engine.api.model.VM setUpVm ( org.ovirt.engine.core.compat.Guid id ) { org.ovirt.engine.api.model.VM vm = control.createMock ( org.ovirt.engine.api.model.VM.class ) ; org.easymock.EasyMock.expect ( vm.getId ( ) ) . andReturn ( id ) . anyTimes ( ) ; return vm ; }
Source:
public java.lang.String getUniqueId ( ) { return org.ovirt.engine.ui.common.widget.action.UiMenuBarButtonDefinition.getTitle ( ) ; }

Target:
public java.lang.String getUniqueId ( ) { return org.ovirt.engine.ui.common.widget.action.UiMenuBarButtonDefinition.getText ( ) ; }
Source:
public void run ( ) throws java.lang.Exception { action.execute ( context , argMap ) ; }

Target:
private org.ovirt.engine.core.extensions.mgr.ExtensionsManager getExtensionsManager ( ) { return ( ( org.ovirt.engine.core.extensions.mgr.ExtensionsManager ) ( context.get ( ContextKeys.EXTENSION_MANAGER ) ) ) ; }
Source:
protected boolean isLastSuperUserGroup ( org.ovirt.engine.core.compat.Guid groupId ) { return org.ovirt.engine.core.bll.MultiLevelAdministrationHandler.isLastSuperUserGroup ( groupId ) ; }

Target:
protected boolean isLastSuperUserGroup ( org.ovirt.engine.core.compat.Guid groupId ) { return multiLevelAdministrationHandler.isLastSuperUserGroup ( groupId ) ; }
Source:
static void verifyModelSpecific ( org.ovirt.engine.api.model.NetworkFilterParameter model , int index ) { assertEquals ( GUIDS [ index ] . toString ( ) , model.getId ( ) ) ; assertEquals ( NAMES [ index ] , model.getName ( ) ) ; }

Target:
static void verifyModelSpecific ( org.ovirt.engine.api.model.NetworkFilterParameter model , int index ) { org.junit.Assert.assertEquals ( GUIDS [ index ] . toString ( ) , model.getId ( ) ) ; org.junit.Assert.assertEquals ( NAMES [ index ] , model.getName ( ) ) ; }
Source:
public org.ovirt.engine.core.dao.DiskImageDAO getDiskImageDAO ( ) { return getDAO ( org.ovirt.engine.core.dao.DiskImageDAO.class ) ; }

Target:
public org.ovirt.engine.core.dao.DiskImageDAO getDiskImageDao ( ) { return getDAO ( org.ovirt.engine.core.dao.DiskImageDAO.class ) ; }
Source:
public void getRoleList ( org.ovirt.engine.ui.frontend.AsyncQuery < java.util.List < org.ovirt.engine.core.common.businessentities.Role > > aQuery ) { aQuery.converterCallback = new org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.ListConverter < > ( ) ; org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runQuery ( VdcQueryType.GetAllRoles , new org.ovirt.engine.core.common.queries.MultilevelAdministrationsQueriesParameters ( ) , aQuery ) ; }

Target:
public void getRoleList ( org.ovirt.engine.ui.frontend.AsyncQuery < java.util.List < org.ovirt.engine.core.common.businessentities.Role > > aQuery ) { aQuery.converterCallback = new org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.ListConverter < > ( ) ; org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runQuery ( VdcQueryType.GetAllRoles , new org.ovirt.engine.core.common.queries.VdcQueryParametersBase ( ) , aQuery ) ; }
Source:
public void PostOnSave ( org.ovirt.engine.core.common.action.VdcReturnValueBase returnValue ) { getWindow ( ) . StopProgress ( ) ; if ( ( returnValue != null ) && ( returnValue.getSucceeded ( ) ) ) { Cancel ( ) ; } }

Target:
public void postOnSave ( org.ovirt.engine.core.common.action.VdcReturnValueBase returnValue ) { getWindow ( ) . stopProgress ( ) ; if ( ( returnValue != null ) && ( returnValue.getSucceeded ( ) ) ) { cancel ( ) ; } }
Source:
public void testUltimateFallbackValues ( ) { org.junit.Assert.assertEquals ( "GMT Standard Time" , org.ovirt.engine.core.common.TimeZoneTypeTest.windows.getUltimateFallback ( ) ) ; org.junit.Assert.assertEquals ( "Etc/GMT" , org.ovirt.engine.core.common.TimeZoneTypeTest.general.getUltimateFallback ( ) ) ; }

Target:
public void testUltimateFallbackValues ( ) { org.junit.jupiter.api.Assertions.assertEquals ( "GMT Standard Time" , org.ovirt.engine.core.common.TimeZoneTypeTest.windows.getUltimateFallback ( ) ) ; org.junit.jupiter.api.Assertions.assertEquals ( "Etc/GMT" , org.ovirt.engine.core.common.TimeZoneTypeTest.general.getUltimateFallback ( ) ) ; }
Source:
public org.ovirt.engine.core.common.AuditLogType getAuditLogTypeValue ( ) { return org.ovirt.engine.core.bll.UpdateVmDiskCommand.getSucceeded ( ) ? org.ovirt.engine.core.common.AuditLogType.USER_UPDATE_VM_DISK : org.ovirt.engine.core.common.AuditLogType.USER_FAILED_UPDATE_VM_DISK ; }

Target:
public org.ovirt.engine.core.common.AuditLogType getAuditLogTypeValue ( ) { if ( org.ovirt.engine.core.bll.UpdateVmDiskCommand.getSucceeded ( ) ) { return ( isCinderDisk ( ) ) && ( resizeDiskImageRequested ( ) ) ? org.ovirt.engine.core.common.AuditLogType.USER_EXTENDED_DISK_SIZE : org.ovirt.engine.core.common.AuditLogType.USER_UPDATE_VM_DISK ; } else { return org.ovirt.engine.core.common.AuditLogType.USER_FAILED_UPDATE_VM_DISK ; } }
Source:
public void testNewStorageTypes ( ) { org.junit.Assert.assertTrue ( ( "A storage type was added/removed. Update this test, and the isFileDomain/isBlockDomain " + "method accordingly" ) , ( ( org.ovirt.engine.core.common.businessentities.storage.StorageType.values ( ) . length ) == 8 ) ) ; }

Target:
public void testNewStorageTypes ( ) { org.junit.Assert.assertTrue ( ( "A storage type was added/removed. Update this test, and the isFileDomain/isBlockDomain " + "method accordingly" ) , ( ( org.ovirt.engine.core.common.businessentities.storage.StorageType.values ( ) . length ) == 9 ) ) ; }
Source:
public org.ovirt.engine.core.common.businessentities.VmOsType getVmtOs ( ) { return this . vmtOs ; }

Target:
public void setVmtOsId ( int value ) { this . vmtOsId = value ; }
Source:
public void setDisplay ( java.lang.Integer value ) { this . vmDynamic.setDisplay ( value ) ; }

Target:
public void setCustomCpuName ( java.lang.String value ) { this . vmStatic.setCustomCpuName ( value ) ; }
Source:
public org.ovirt.engine.core.compat.Guid getId ( ) { return this . mVmStatic.getId ( ) ; }

Target:
public org.ovirt.engine.core.compat.Guid getId ( ) { return this . vmStatic.getId ( ) ; }
Source:
protected org.ovirt.engine.api.model.DataCenter populate ( org.ovirt.engine.api.model.DataCenter model , org.ovirt.engine.core.common.businessentities.storage_pool entity ) { return parent.populate ( model , entity ) ; }

Target:
protected org.ovirt.engine.api.model.DataCenter doPopulate ( org.ovirt.engine.api.model.DataCenter model , org.ovirt.engine.core.common.businessentities.storage_pool entity ) { return parent.doPopulate ( model , entity ) ; }
Source:
private static org.ovirt.engine.core.common.businessentities.VDSGroup createNewVdsGroup ( ) { org.ovirt.engine.core.common.businessentities.VDSGroup group = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; group.setcompatibility_version ( org.ovirt.engine.core.bll.UpdateVdsGroupCommandTest.VERSION_1_1 ) ; group.setname ( "Default" ) ; return group ; }

Target:
private static org.ovirt.engine.core.common.businessentities.VDSGroup createNewVdsGroup ( ) { org.ovirt.engine.core.common.businessentities.VDSGroup group = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; group.setcompatibility_version ( org.ovirt.engine.core.bll.UpdateVdsGroupCommandTest.VERSION_1_1 ) ; group.setName ( "Default" ) ; return group ; }
Source:
private < T > boolean emptyParameters ( T [ ] ids ) { return ( ids == null ) || ( ( ids.length ) == 0 ) ; }

Target:
private < T > boolean nullParameters ( T [ ] ids ) { return ids == null ; }
Source:
public static boolean isUpdateValid ( org.ovirt.engine.core.common.businessentities.VmStatic source , org.ovirt.engine.core.common.businessentities.VmStatic destination ) { return org.ovirt.engine.core.bll.VmHandler.mUpdateVmsStatic.IsUpdateValid ( source , destination ) ; }

Target:
public static boolean isUpdateValid ( org.ovirt.engine.core.common.businessentities.VmStatic source , org.ovirt.engine.core.common.businessentities.VmStatic destination ) { return org.ovirt.engine.core.bll.VmHandler.updateVmsStatic.IsUpdateValid ( source , destination ) ; }
Source:
public void setSelectionAlgorithm ( org.ovirt.engine.core.common.businessentities.VdsSelectionAlgorithm value ) { this . selectionAlgorithm = value ; }

Target:
public void setSshUsername ( java.lang.String value ) { this . mVdsStatic.setSshUsername ( value ) ; }
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { customPropertiesSheetEditor.edit ( model.getCustomPropertySheet ( ) ) ; }

Target:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { updateTooltips ( model ) ; }
Source:
protected void executeCommand ( ) { setDataCenterDetails ( ) ; addStoragePoolToDb ( ) ; org.ovirt.engine.core.bll.storage.pool.AddEmptyStoragePoolCommand.getReturnValue ( ) . setActionReturnValue ( org.ovirt.engine.core.bll.storage.pool.AddEmptyStoragePoolCommand.getStoragePool ( ) . getId ( ) ) ; addDefaultNetworks ( ) ; org.ovirt.engine.core.bll.storage.pool.AddEmptyStoragePoolCommand.setSucceeded ( true ) ; }

Target:
protected void executeCommand ( ) { setDataCenterDetails ( ) ; addStoragePoolToDb ( ) ; addDefaultQuotaToDb ( ) ; org.ovirt.engine.core.bll.storage.pool.AddEmptyStoragePoolCommand.getReturnValue ( ) . setActionReturnValue ( org.ovirt.engine.core.bll.storage.pool.AddEmptyStoragePoolCommand.getStoragePool ( ) . getId ( ) ) ; addDefaultNetworks ( ) ; org.ovirt.engine.core.bll.storage.pool.AddEmptyStoragePoolCommand.setSucceeded ( true ) ; }
Source:
public java.lang.String renderNullSafe ( java.lang.Object object ) { return ( ( org.ovirt.engine.core.common.businessentities.VDSGroup ) ( object ) ) . getName ( ) ; }

Target:
private void initListBoxEditors ( ) { clusterListEditor = new org.ovirt.engine.ui.common.widget.editor.ListModelListBoxEditor ( new org.ovirt.engine.ui.common.widget.renderer.NameRenderer < org.ovirt.engine.core.common.businessentities.VDSGroup > ( ) ) ; }