auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void OnSuccess ( java.lang.Object target , java.lang.Object returnValue ) { org.ovirt.engine.ui.uicommonweb.models.LoginModel loginModel = ( ( org.ovirt.engine.ui.uicommonweb.models.LoginModel ) ( target ) ) ; loginModel.getLoggedInEvent ( ) . raise ( this , EventArgs.Empty ) ; }

Target:
protected void raiseLoggedInEvent ( ) { org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.initCache ( this ) ; }
Source:
public void test1 ( ) { org.ovirt.engine.api.types.V4Vm object = objectFromJson ( "{'memory':1}" ) ; org.junit.Assert.assertEquals ( java.math.BigInteger.ONE , object.getMemory ( ) ) ; }

Target:
public void test1 ( ) { org.ovirt.engine.api.types.V4Vm object = objectFromJson ( "{'memory':1}" ) ; org.junit.Assert.assertEquals ( java.math.BigInteger.ONE , object.memory ( ) ) ; }
Source:
public void testGetAsyncTaskIdsByInvalidStoragePoolId ( ) { java.util.List < org.ovirt.engine.core.compat.Guid > guids = dao.getAsyncTaskIdsByStoragePoolId ( org.ovirt.engine.core.compat.Guid.NewGuid ( ) ) ; org.junit.Assert.assertNotNull ( guids ) ; org.junit.Assert.assertEquals ( guids.size ( ) , 0 ) ; }

Target:
public void testGetAsyncTaskIdsByInvalidStoragePoolId ( ) { java.util.List < org.ovirt.engine.core.compat.Guid > guids = dao.getAsyncTaskIdsByStoragePoolId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; org.junit.Assert.assertNotNull ( guids ) ; org.junit.Assert.assertEquals ( guids.size ( ) , 0 ) ; }
Source:
public void setVdsGroupName ( java.lang.String vdsGroupName ) { this . vdsGroupName = vdsGroupName ; }

Target:
public void setClusterName ( java.lang.String clusterName ) { this . clusterName = clusterName ; }
Source:
protected org.ovirt.engine.core.compat.Guid generateNonExistingId ( ) { return org.ovirt.engine.core.compat.Guid.newGuid ( ) ; }

Target:
protected org.ovirt.engine.core.common.job.Step getNonExistentEntity ( ) { return newStep ; }
Source:
public void testAllEmpty ( ) { java.lang.String command = createCommand ( new org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilder ( ) . playbook ( org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.ANSIBLE_PLAYBOOK ) ) ; org.junit.Assert.assertEquals ( join ( AnsibleCommandBuilder.ANSIBLE_COMMAND , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.ANSIBLE_LOG_LEVEL , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.PRIVATE_KEY , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.ANSIBLE_PLAYBOOK_FULL_PATH ) , command ) ; }

Target:
public void testAllEmpty ( ) { java.lang.String command = createCommand ( new org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilder ( ) . playbook ( org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.ANSIBLE_PLAYBOOK ) ) ; org.junit.Assert.assertEquals ( join ( AnsibleCommandBuilder.ANSIBLE_COMMAND , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.IGNORE_SSH_CONFIG , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.ANSIBLE_LOG_LEVEL , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.PRIVATE_KEY , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.ANSIBLE_PLAYBOOK_FULL_PATH ) , command ) ; }
Source:
public int getport ( ) { return this . mVdsStatic.getport ( ) ; }

Target:
public void setManagementIp ( java.lang.String value ) { this . mVdsStatic.setManagementIp ( value ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { if ( ( source != null ) && ( ! ( ( ( java.util.List < ? > ) ( source ) ) . isEmpty ( ) ) ) ) { return true ; } return false ; }

Target:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { if ( ( source != null ) && ( ! ( ( ( java.util.List < ? > ) ( source ) ) . isEmpty ( ) ) ) ) { return true ; } return false ; }
Source:
private java.lang.String convertStreamToString ( java.io.InputStream is ) { return new java.util.Scanner ( is ) . useDelimiter ( "\\A" ) . next ( ) . replace ( "\n" , "" ) ; }

Target:
private java.lang.String convertStreamToString ( java.io.InputStream is ) { return new java.util.Scanner ( is , java.nio.charset.Charset.forName ( "UTF-8" ) . toString ( ) ) . useDelimiter ( "\\A" ) . next ( ) . replace ( "\n" , "" ) ; }
Source:
public boolean isCrossReferece ( java.lang.String text , java.lang.String obj ) { org.ovirt.engine.core.searchbackend.IAutoCompleter completer = getCrossRefAutoCompleter ( obj ) ; if ( completer != null ) { return completer.validate ( text ) ; } return false ; }

Target:
public boolean isCrossReference ( java.lang.String text , java.lang.String obj ) { org.ovirt.engine.core.searchbackend.IAutoCompleter completer = getCrossRefAutoCompleter ( obj ) ; if ( completer != null ) { return completer.validate ( text ) ; } return false ; }
Source:
public void processOnCpuFlagsChange ( org.ovirt.engine.core.compat.Guid vdsId ) { org.ovirt.engine.core.bll.Backend.getInstance ( ) . runInternalAction ( VdcActionType.HandleVdsCpuFlagsOrClusterChanged , new org.ovirt.engine.core.common.action.VdsActionParameters ( vdsId ) ) ; }

Target:
public void handleVdsVersion ( org.ovirt.engine.core.compat.Guid vdsId ) { backend.runInternalAction ( VdcActionType.HandleVdsVersion , new org.ovirt.engine.core.common.action.VdsActionParameters ( vdsId ) ) ; }
Source:
protected org.ovirt.engine.core.common.action.VdcReturnValueBase run ( ) throws java.lang.Exception { final org.ovirt.engine.core.common.action.VdcReturnValueBase returnValue = command.executeAction ( ) ; if ( returnValue.getSucceeded ( ) ) { return returnValue ; } throw new org.ovirt.engine.core.bll.executor.HystrixBackendActionExecutor.ActionFailedException ( returnValue ) ; }

Target:
protected org.ovirt.engine.core.common.action.ActionReturnValue run ( ) throws java.lang.Exception { final org.ovirt.engine.core.common.action.ActionReturnValue returnValue = command.executeAction ( ) ; if ( returnValue.getSucceeded ( ) ) { return returnValue ; } throw new org.ovirt.engine.core.bll.executor.HystrixBackendActionExecutor.ActionFailedException ( returnValue ) ; }
Source:
public boolean eval ( org.ovirt.engine.core.common.businessentities.StorageDomain storageDomain ) { return ( ( storageDomain.getstorage_type ( ) ) == ( org.ovirt.engine.core.common.businessentities.StorageType.ISCSI ) ) || ( ( storageDomain.getstorage_type ( ) ) == ( org.ovirt.engine.core.common.businessentities.StorageType.FCP ) ) ; }

Target:
public boolean eval ( org.ovirt.engine.core.common.businessentities.StorageDomain storageDomain ) { return ( ( storageDomain.getStorageType ( ) ) == ( org.ovirt.engine.core.common.businessentities.StorageType.ISCSI ) ) || ( ( storageDomain.getStorageType ( ) ) == ( org.ovirt.engine.core.common.businessentities.StorageType.FCP ) ) ; }
Source:
public void testChangeClusterForbidden ( ) { prepareVmToPassCanDoAction ( ) ; vmStatic.setVdsGroupId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; org.junit.Assert.assertFalse ( "canDoAction should have failed with cant change cluster." , command.canDoAction ( ) ) ; assertCanDoActionMessage ( EngineMessage.VM_CANNOT_UPDATE_CLUSTER ) ; }

Target:
public void testChangeClusterForbidden ( ) { prepareVmToPassCanDoAction ( ) ; vmStatic.setVdsGroupId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; org.junit.Assert.assertFalse ( "canDoAction should have failed with can't change cluster." , command.canDoAction ( ) ) ; assertCanDoActionMessage ( EngineMessage.VM_CANNOT_UPDATE_CLUSTER ) ; }
Source:
protected boolean isStatelessSnapshotExistsForVm ( ) { if ( ( cachedStatelessSnapshotExistsForVm ) == null ) { cachedStatelessSnapshotExistsForVm = org.ovirt.engine.core.bll.RunVmCommand.getSnapshotDao ( ) . exists ( org.ovirt.engine.core.bll.RunVmCommand.getVm ( ) . getId ( ) , SnapshotType.STATELESS ) ; } return cachedStatelessSnapshotExistsForVm ; }

Target:
protected boolean isStatelessSnapshotExistsForVm ( ) { if ( ( cachedStatelessSnapshotExistsForVm ) == null ) { cachedStatelessSnapshotExistsForVm = snapshotDao.exists ( org.ovirt.engine.core.bll.RunVmCommand.getVm ( ) . getId ( ) , SnapshotType.STATELESS ) ; } return cachedStatelessSnapshotExistsForVm ; }
Source:
public T handle ( java.lang.Exception e ) ;

Target:
public T handle ( java.lang.Exception e , P params ) ;
Source:
protected boolean canDoAction ( ) { return checkQuotaValidationForAdd ( getParameters ( ) . getQuota ( ) , getReturnValue ( ) . getCanDoActionMessages ( ) ) ; }

Target:
protected boolean validate ( ) { return checkQuotaValidationForAdd ( getParameters ( ) . getQuota ( ) , getReturnValue ( ) . getValidationMessages ( ) ) ; }
Source:
public void testGetByName ( ) { org.ovirt.engine.core.common.businessentities.VdsStatic result = dao.get ( existingVds.getvds_name ( ) ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertEquals ( existingVds.getvds_name ( ) , result.getvds_name ( ) ) ; }

Target:
public void testGetByName ( ) { org.ovirt.engine.core.common.businessentities.VdsStatic result = dao.get ( existingVds.getVdsName ( ) ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertEquals ( existingVds.getVdsName ( ) , result.getVdsName ( ) ) ; }
Source:
public org.ovirt.engine.api.model.User addParents ( org.ovirt.engine.api.model.User user ) { return parent.addParents ( user ) ; }

Target:
protected org.ovirt.engine.api.model.User doPopulate ( org.ovirt.engine.api.model.User model , org.ovirt.engine.core.common.businessentities.LdapUser entity ) { return model ; }
Source:
public void testGetAllForUser ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.tags > result = dao.getAllForUsers ( user.getUuid ( ) . toString ( ) ) ; assertNotNull ( result ) ; assertFalse ( result.isEmpty ( ) ) ; }

Target:
public void testGetAllForUser ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.tags > result = dao.getAllForUsers ( user.getUuid ( ) . toString ( ) ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertFalse ( result.isEmpty ( ) ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.VM loadEntity ( ) { return getEntity ( org.ovirt.engine.core.common.businessentities.VM.class , VdcQueryType.GetVmByVmId , new org.ovirt.engine.core.common.queries.IdQueryParameters ( guid ) , guid.toString ( ) , true ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.VM loadEntity ( ) { return getEntity ( org.ovirt.engine.core.common.businessentities.VM.class , QueryType.GetVmByVmId , new org.ovirt.engine.core.common.queries.IdQueryParameters ( guid ) , guid.toString ( ) , true ) ; }
Source:
public java.lang.String render ( T sizeInMB ) { return sizeInMB != null ? ( sizeInMB.toString ( ) ) + " MB" : org.ovirt.engine.ui.common.widget.renderer.MemorySizeRenderer.constants.unAvailablePropertyLabel ( ) ; }

Target:
public java.lang.String render ( T sizeInMB ) { return sizeInMB != null ? org.ovirt.engine.ui.common.widget.renderer.MemorySizeRenderer.messages.megabytes ( sizeInMB.toString ( ) ) : org.ovirt.engine.ui.common.widget.renderer.MemorySizeRenderer.constants.unAvailablePropertyLabel ( ) ; }
Source:
public void shutDown ( ) { try { sched.shutdown ( true ) ; } catch ( org.quartz.SchedulerException se ) { log.error ( "failed to shut down the scheduler" , se ) ; } }

Target:
public void shutDown ( ) { try { sched.shutdown ( true ) ; } catch ( org.quartz.SchedulerException se ) { log.error ( "failed to shut down the scheduler: {}" , se.getMessage ( ) ) ; log.debug ( "Exception" , se ) ; } }
Source:
public java.lang.String getPassword ( ) { return ( ( java.lang.String ) ( getData ( org.ovirt.engine.core.bll.session.SessionDataContainer.PASSWORD_PARAMETER_NAME ) ) ) ; }

Target:
private java.lang.String getPrincipalName ( java.lang.String sessionId ) { return ( ( java.lang.String ) ( getData ( sessionId , org.ovirt.engine.core.bll.session.SessionDataContainer.PRINCIPAL_PARAMETER_NAME , false ) ) ) ; }
Source:
public java.lang.String getText ( ) { return hyperlink.getText ( ) ; }

Target:
public java.lang.String getText ( ) { return hyperlinkLabel.getText ( ) ; }
Source:
public void validateGenerateVmNameWithoutMask1 ( ) { junit.framework.Assert.assertEquals ( "mypool-1" , org.ovirt.engine.core.utils.NameForVmInPoolGenerator.generateVmName ( "mypool" , 1 ) ) ; }

Target:
public void validateGenerateVmNameWithoutMask1 ( ) { org.ovirt.engine.core.utils.NameForVmInPoolGenerator generator = createNameForVmInPoolGenerator ( "mypool" ) ; org.junit.Assert.assertEquals ( "mypool-1" , generator.generateVmName ( ) ) ; }
Source:
protected void expectGetLunsMap ( ) { for ( int i = 0 ; i < ( org.ovirt.engine.core.bll.GetLunsByVgIdQueryTest.GUIDS.length ) ; i ++ ) { expectGetLunsMap ( org.ovirt.engine.core.bll.GetLunsByVgIdQueryTest.GUIDS [ i ] . toString ( ) , org.ovirt.engine.core.bll.GetLunsByVgIdQueryTest.GUIDS [ i ] . toString ( ) ) ; } }

Target:
protected void expectGetLunsMap ( ) { for ( org.ovirt.engine.core.compat.Guid GUID : org.ovirt.engine.core.bll.GetLunsByVgIdQueryTest.GUIDS ) { expectGetLunsMap ( GUID.toString ( ) , GUID.toString ( ) ) ; } }
Source:
public static java.lang.Boolean hasSpiceSupport ( int osId , org.ovirt.engine.core.compat.Version version ) { return org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.spiceSupportMatrix.get ( osId ) . get ( version ) ; }

Target:
public static boolean hasSpiceSupport ( int osId , org.ovirt.engine.core.compat.Version version ) { return org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getDisplayTypes ( osId , version ) . contains ( DisplayType.qxl ) ; }
Source:
public boolean isGlusterPeerProbeNeeded ( ) { return this . glusterPeerProbeNeeded ; }

Target:
public org.ovirt.engine.core.compat.Guid getVdsForUniqueId ( ) { return hostId ; }
Source:
protected org.ovirt.engine.core.common.businessentities.Snapshot addActiveSnapshot ( org.ovirt.engine.core.compat.Guid snapshotId ) { return new org.ovirt.engine.core.bll.snapshots.SnapshotsManager ( ) . addActiveSnapshot ( snapshotId , getVm ( ) , getCompensationContext ( ) ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.Snapshot addActiveSnapshot ( org.ovirt.engine.core.compat.Guid snapshotId ) { return snapshotsManager.addActiveSnapshot ( snapshotId , getVm ( ) , getMemoryVolumeForNewActiveSnapshot ( ) , org.ovirt.engine.core.bll.ImportVmCommand.getCompensationContext ( ) ) ; }
Source:
protected void syncSearch ( ) { org.ovirt.engine.core.common.queries.SearchParameters tempVar = new org.ovirt.engine.core.common.queries.SearchParameters ( getSearchString ( ) , org.ovirt.engine.core.common.interfaces.SearchType.VmTemplate , isCaseSensitiveSearch ( ) ) ; tempVar.setMaxCount ( getSearchPageSize ( ) ) ; super . syncSearch ( VdcQueryType.Search , tempVar ) ; }

Target:
protected void syncSearch ( ) { org.ovirt.engine.core.common.queries.SearchParameters tempVar = new org.ovirt.engine.core.common.queries.SearchParameters ( applySortOptions ( getSearchString ( ) ) , org.ovirt.engine.core.common.interfaces.SearchType.VmTemplate , isCaseSensitiveSearch ( ) ) ; tempVar.setMaxCount ( getSearchPageSize ( ) ) ; super . syncSearch ( VdcQueryType.Search , tempVar ) ; }
Source:
protected void setUpGetEntityExpectations ( java.util.List < org.ovirt.engine.api.model.Snapshot > result ) throws java.lang.Exception { setUpGetEntityExpectations ( VdcQueryType.GetAllVmSnapshotsByVmId , org.ovirt.engine.core.common.queries.IdQueryParameters.class , new java.lang.String [ ] { "Id" } , new java.lang.Object [ ] { org.ovirt.engine.api.restapi.resource.BackendSnapshotResourceTest.VM_ID } , result ) ; }

Target:
protected void setUpGetEntityExpectations ( java.util.List < org.ovirt.engine.api.model.Snapshot > result ) throws java.lang.Exception { setUpGetEntityExpectations ( QueryType.GetAllVmSnapshotsByVmId , org.ovirt.engine.core.common.queries.IdQueryParameters.class , new java.lang.String [ ] { "Id" } , new java.lang.Object [ ] { org.ovirt.engine.api.restapi.resource.BackendSnapshotResourceTest.VM_ID } , result ) ; }
Source:
private static boolean isProfilePermitted ( org.ovirt.engine.core.compat.Guid cpuProfileId , org.ovirt.engine.core.compat.Guid userId ) { return ( userId == null ) || ( ( org.ovirt.engine.core.bll.profiles.CpuProfileHelper.getPermissionDao ( ) . getEntityPermissions ( userId , ActionGroup.ASSIGN_CPU_PROFILE , cpuProfileId , VdcObjectType.CpuProfile ) ) != null ) ; }

Target:
private boolean isProfilePermitted ( org.ovirt.engine.core.compat.Guid cpuProfileId , org.ovirt.engine.core.compat.Guid userId ) { return ( userId == null ) || ( ( permissionDao.getEntityPermissions ( userId , ActionGroup.ASSIGN_CPU_PROFILE , cpuProfileId , VdcObjectType.CpuProfile ) ) != null ) ; }
Source:
protected java.util.List < org.ovirt.engine.core.common.businessentities.RepoFileMetaData > getUserRequestForStorageDomainRepoFileList ( ) { return org.ovirt.engine.core.bll.IsoDomainListSyncronizer.getInstance ( ) . getUserRequestForStorageDomainRepoFileList ( getStorageDomainId ( ) , org.ovirt.engine.core.bll.GetImagesListQuery.getParameters ( ) . getFileTypeExtension ( ) , org.ovirt.engine.core.bll.GetImagesListQuery.getParameters ( ) . getForceRefresh ( ) ) ; }

Target:
protected java.util.List < org.ovirt.engine.core.common.businessentities.RepoFileMetaData > getUserRequestForStorageDomainRepoFileList ( ) { return org.ovirt.engine.core.bll.IsoDomainListSyncronizer.getInstance ( ) . getUserRequestForStorageDomainRepoFileList ( getStorageDomainId ( ) , org.ovirt.engine.core.bll.GetImagesListQuery.getParameters ( ) . getImageType ( ) , org.ovirt.engine.core.bll.GetImagesListQuery.getParameters ( ) . getForceRefresh ( ) ) ; }
Source:
private boolean bondIsBeingRemoved ( java.lang.String bondName ) { for ( org.ovirt.engine.core.common.businessentities.network.Bond removedBond : params.getRemovedBonds ( ) ) { if ( bondName.equals ( removedBond.getName ( ) ) ) { return true ; } } return false ; }

Target:
private boolean bondIsUpdatedAndDoesNotContainCertainSlave ( java.lang.String slaveName , java.lang.String bondName ) { org.ovirt.engine.core.common.businessentities.network.Bond bond = this . bondsMap.get ( bondName ) ; return ( bond != null ) && ( ! ( bond.getSlaves ( ) . contains ( slaveName ) ) ) ; }
Source:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.webadmin.gin.ClientGinjector ginjector ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( ginjector.getApplicationConstants ( ) . clusterHostSubTabLabel ( ) , 3 , ginjector.getSubTabClusterHostModelProvider ( ) ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.webadmin.ApplicationConstants applicationConstants , org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.core.common.businessentities.VDS , org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterListModel , org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterHostListModel > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( applicationConstants.clusterHostSubTabLabel ( ) , 2 , modelProvider ) ; }
Source:
private boolean volumeInfoChanged ( org.ovirt.engine.core.common.businessentities.DiskImage diskImageFromClient , org.ovirt.engine.core.common.businessentities.DiskImage srcDiskImage ) { return ( ( diskImageFromClient.getvolume_format ( ) ) != ( srcDiskImage.getvolume_format ( ) ) ) || ( ( diskImageFromClient.getvolume_type ( ) ) != ( srcDiskImage.getvolume_type ( ) ) ) ; }

Target:
private boolean volumeInfoChanged ( org.ovirt.engine.core.common.businessentities.DiskImage diskImageFromClient , org.ovirt.engine.core.common.businessentities.DiskImage srcDiskImage ) { return ( ( diskImageFromClient.getVolumeFormat ( ) ) != ( srcDiskImage.getVolumeFormat ( ) ) ) || ( ( diskImageFromClient.getVolumeType ( ) ) != ( srcDiskImage.getVolumeType ( ) ) ) ; }
Source:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.GetAllTagsQuery.getQueryReturnValue ( ) . setReturnValue ( org.ovirt.engine.core.bll.TagsDirector.getInstance ( ) . GetAllTags ( ) ) ; }

Target:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.GetAllTagsQuery.getQueryReturnValue ( ) . setReturnValue ( org.ovirt.engine.core.bll.TagsDirector.getInstance ( ) . getAllTags ( ) ) ; }
Source:
public org.ovirt.engine.core.common.eventqueue.EventResult call ( ) { org.ovirt.engine.core.common.eventqueue.EventResult result = new org.ovirt.engine.core.common.eventqueue.EventResult ( true , org.ovirt.engine.core.common.eventqueue.EventType.DOMAINMONITORING ) ; updateProblematicVdsData ( vdsId , vdsName , domainsInProblems ) ; return result ; }

Target:
public org.ovirt.engine.core.common.eventqueue.EventResult call ( ) { org.ovirt.engine.core.common.eventqueue.EventResult result = new org.ovirt.engine.core.common.eventqueue.EventResult ( true , org.ovirt.engine.core.common.eventqueue.EventType.DOMAINMONITORING ) ; updateProblematicVdsData ( vdsId , vdsName , domainsInProblems ) ; updateMaintenanceVdsData ( vdsId , vdsName , domainsInMaintenance ) ; return result ; }
Source:
public org.ovirt.engine.core.compat.Version getCompatibilityVersion ( ) { return ( getCustomCompatibilityVersion ( ) ) != null ? getCustomCompatibilityVersion ( ) : getVdsGroupCompatibilityVersion ( ) ; }

Target:
public org.ovirt.engine.core.compat.Version getCompatibilityVersion ( ) { return ( getCustomCompatibilityVersion ( ) ) != null ? getCustomCompatibilityVersion ( ) : getClusterCompatibilityVersion ( ) ; }
Source:
public void testAllEmpty ( ) { java.lang.String command = createCommand ( new org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilder ( ) . playbook ( org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.ANSIBLE_PLAYBOOK ) ) ; org.junit.Assert.assertEquals ( join ( AnsibleCommandBuilder.ANSIBLE_COMMAND , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.PRIVATE_KEY , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.ANSIBLE_PLAYBOOK_FULL_PATH ) , command ) ; }

Target:
public void testVerbosityLevelZero ( ) { java.lang.String command = createCommand ( new org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilder ( ) . verboseLevel ( AnsibleVerbosity.LEVEL0 ) . playbook ( org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.ANSIBLE_PLAYBOOK ) ) ; org.junit.Assert.assertEquals ( join ( AnsibleCommandBuilder.ANSIBLE_COMMAND , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.PRIVATE_KEY , org.ovirt.engine.core.common.utils.ansible.AnsibleCommandBuilderTest.ANSIBLE_PLAYBOOK_FULL_PATH ) , command ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( getClass ( ) . getSimpleName ( ) ) + " [mStatus=" ) + ( getXmlRpcStatus ( ) ) ) + "]" ; }

Target:
public java.lang.String toString ( ) { return ( ( ( getClass ( ) . getSimpleName ( ) ) + " [mStatus=" ) + ( mStatus ) ) + "]" ; }
Source:
private void InitHandlers ( ) { mTagsHandler = org.ovirt.engine.core.bll.HandlersFactory.createTagsHandler ( ) ; org.ovirt.engine.core.searchbackend.BaseConditionFieldAutoCompleter.TagsHandler = mTagsHandler ; org.ovirt.engine.core.bll.VmHandler.Init ( ) ; org.ovirt.engine.core.bll.VdsHandler.Init ( ) ; org.ovirt.engine.core.bll.VmTemplateHandler.Init ( ) ; org.ovirt.engine.core.bll.Backend.log.info ( "Completed initializing handlers" ) ; }

Target:
private void initHandlers ( ) { mTagsHandler = org.ovirt.engine.core.bll.HandlersFactory.createTagsHandler ( ) ; org.ovirt.engine.core.searchbackend.BaseConditionFieldAutoCompleter.TagsHandler = mTagsHandler ; org.ovirt.engine.core.bll.VmHandler.Init ( ) ; org.ovirt.engine.core.bll.VdsHandler.Init ( ) ; org.ovirt.engine.core.bll.VmTemplateHandler.Init ( ) ; org.ovirt.engine.core.bll.Backend.log.info ( "Completed initializing handlers" ) ; }
Source:
public void addColumnWithHtmlHeader ( com.google.gwt.user.cellview.client.Column < T , ? > column , java.lang.String headerHtml , java.lang.String width ) { addColumnWithHtmlHeader ( column , headerHtml ) ; setColumnWidth ( column , width ) ; }

Target:
public void addColumn ( com.google.gwt.user.cellview.client.Column < T , ? > column , java.lang.String headerText ) { com.google.gwt.user.cellview.client.Header < ? > header = new org.ovirt.engine.ui.common.widget.table.header.SafeHtmlHeader ( com.google.gwt.safehtml.shared.SafeHtmlUtils.fromString ( headerText ) ) ; addColumn ( column , header ) ; }
Source:
protected abstract void showErrataListWithDetailsPopup ( ) ;

Target:
protected abstract void showErrataListWithDetailsPopup ( java.lang.String filterCommand ) ;
Source:
public void testGetFileFromString_NullPath ( ) { java.io.File file = new java.io.File ( canReadFileName ) ; java.io.File testFile = org.ovirt.engine.core.utils.servlet.ServletUtils.makeFileFromSanePath ( null , file ) ; org.junit.Assert.assertEquals ( "new file should be same as old file" , file , testFile ) ; }

Target:
public void testGetFileFromString_NullPath ( ) { java.io.File file = new java.io.File ( canReadFileName ) ; java.io.File testFile = org.ovirt.engine.core.utils.servlet.ServletUtils.makeFileFromSanePath ( null , file ) ; org.junit.jupiter.api.Assertions.assertEquals ( file , testFile , "new file should be same as old file" ) ; }
Source:
public void setPassthroughVnicToVfMap ( java.util.Map < org.ovirt.engine.core.compat.Guid , java.lang.String > passthroughVnicToVfMap ) { this . passthroughVnicToVfMap = passthroughVnicToVfMap ; }

Target:
public void setHibernationVolHandle ( java.lang.String value ) { this . hibernationVolHandle = value ; }
Source:
protected org.ovirt.engine.core.vdsbroker.VmsListFetcher getVmsFetcher ( ) { return getRefreshStatistics ( ) ? new org.ovirt.engine.core.vdsbroker.VmsStatisticsFetcher ( manager ) : new org.ovirt.engine.core.vdsbroker.VmsListFetcher ( manager ) ; }

Target:
protected org.ovirt.engine.core.vdsbroker.VmsListFetcher getVmsFetcher ( ) { return getRefreshStatistics ( ) ? new org.ovirt.engine.core.vdsbroker.VmsStatisticsFetcher ( vdsManager ) : new org.ovirt.engine.core.vdsbroker.VmsListFetcher ( vdsManager ) ; }
Source:
public < P extends org.ovirt.engine.core.bll.provider.ProviderProxy > P create ( org.ovirt.engine.core.common.businessentities.Provider provider ) { return ( ( P ) ( null ) ) ; }

Target:
public < P extends org.ovirt.engine.core.bll.provider.ProviderProxy > P create ( org.ovirt.engine.core.common.businessentities.Provider < ? > provider ) { return ( ( P ) ( new org.ovirt.engine.core.bll.host.provider.foreman.ForemanHostProviderProxy ( provider ) ) ) ; }
Source:
public void onUserLogout ( ) { setUserName ( null ) ; setUserId ( null ) ; setLoggedIn ( false ) ; fireLoginChangeEvent ( ) ; }

Target:
public void onUserLogout ( ) { setLoggedUser ( null ) ; setLoggedIn ( false ) ; fireLoginChangeEvent ( ) ; }
Source:
public void copyKeysDataTo ( ovirt_engine_dwh.aggregationtohourly_3_4.AggregationToHourly.dc_aggregate_dateStruct other ) { other.var_name = this . var_name ; }

Target:
public void copyDataTo ( ovirt_engine_dwh.aggregationtohourly_3_4.AggregationToHourly.row18Struct other ) { other.var_name = this . var_name ; other.var_datetime = this . var_datetime ; }
Source:
public void resetTableScrollPosition ( ) { tableContainerScrollPosition = 0 ; enforceScrollPosition ( ) ; }

Target:
public void resetScrollPosition ( ) { tableContainerScrollPosition = 0 ; enforceScrollPosition ( ) ; }
Source:
public void verifyNoDomainForMemoryWhenDomainIsNotDataDomain ( ) { for ( org.ovirt.engine.core.common.businessentities.StorageDomainType storageDomainType : org.ovirt.engine.core.common.businessentities.StorageDomainType.values ( ) ) { if ( ! ( storageDomainType.isDataDomain ( ) ) ) { validStorageDomain.setStorageDomainType ( storageDomainType ) ; verifyNoDomainForMemory ( java.util.Arrays.asList ( validStorageDomain ) ) ; } } }

Target:
public void filterAllDomainsExceptForTheThirdOne ( ) { filterAllStorageDomainsExceptOne ( java.util.Arrays.asList ( invalidStorageDomain1 , invalidStorageDomain2 , validStorageDomain ) , validStorageDomain ) ; }
Source:
public void addCustomValueWillNotReturnANull ( ) { final java.lang.String key = org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBaseTest.NAME ; final java.lang.String value = null ; b.addCustomValue ( key , value ) ; final java.lang.String v = b.getCustomValue ( key ) ; org.junit.Assert.assertEquals ( "" , v ) ; }

Target:
public void addCustomValueWillNotReturnANull ( ) { final java.lang.String key = org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBaseTest.NAME ; final java.lang.String value = null ; b.addCustomValue ( key , value ) ; final java.lang.String v = b.getCustomValue ( key ) ; org.junit.jupiter.api.Assertions.assertEquals ( "" , v ) ; }
Source:
protected void alertIfPowerManagementOperationSkipped ( java.lang.String operation , java.lang.Throwable throwable ) { Alert ( AuditLogType.VDS_ALERT_FENCE_OPERATION_SKIPPED , operation , throwable ) ; }

Target:
protected void alertIfPowerManagementOperationSkipped ( java.lang.String operation , java.lang.Throwable throwable ) { alert ( AuditLogType.VDS_ALERT_FENCE_OPERATION_SKIPPED , operation , throwable ) ; }
Source:
private org.ovirt.engine.core.common.action.SetupNetworksParameters createParametersForNics ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface ... nics ) { org.ovirt.engine.core.common.action.SetupNetworksParameters parameters = new org.ovirt.engine.core.common.action.SetupNetworksParameters ( ) ; parameters.setInterfaces ( java.util.Arrays.asList ( nics ) ) ; return parameters ; }

Target:
private org.ovirt.engine.core.common.action.SetupNetworksParameters createParametersForNics ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface ... nics ) { org.ovirt.engine.core.common.action.SetupNetworksParameters parameters = new org.ovirt.engine.core.common.action.SetupNetworksParameters ( ) ; parameters.setInterfaces ( java.util.Arrays.asList ( nics ) ) ; parameters.setCustomProperties ( customProperties ) ; return parameters ; }
Source:
public static void RunAction ( final org.ovirt.engine.core.common.action.VdcActionType actionType , final org.ovirt.engine.core.common.action.VdcActionParametersBase parameters ) { org.ovirt.engine.ui.frontend.Frontend.RunAction ( actionType , parameters , org.ovirt.engine.ui.frontend.Frontend.NULLABLE_ASYNC_CALLBACK ) ; }

Target:
public void runAction ( final org.ovirt.engine.core.common.action.VdcActionType actionType , final org.ovirt.engine.core.common.action.VdcActionParametersBase parameters , final boolean showErrorDialog ) { runAction ( actionType , parameters , org.ovirt.engine.ui.frontend.Frontend.NULLABLE_ASYNC_CALLBACK , null , showErrorDialog ) ; }
Source:
protected void onBind ( ) { super . onBind ( ) ; registerHandler ( getEventBus ( ) . addHandler ( org.ovirt.engine.ui.webadmin.section.main.presenter.SetDynamicTabContentUrlEvent.getType ( ) , this ) ) ; }

Target:
protected void onBind ( ) { super . onBind ( ) ; registerHandler ( getEventBus ( ) . addHandler ( org.ovirt.engine.ui.webadmin.section.main.presenter.SetDynamicTabContentUrlEvent.getType ( ) , this ) ) ; registerHandler ( getEventBus ( ) . addHandler ( org.ovirt.engine.ui.webadmin.section.main.presenter.SetDynamicTabUnloadHandlerEvent.getType ( ) , this ) ) ; }
Source:
public void RerunFailedCommand ( org.ovirt.engine.core.compat.Guid vmId , org.ovirt.engine.core.compat.Guid vdsId ) { org.ovirt.engine.core.common.businessentities.IVdsEventListener listener = _asyncRunningVms.remove ( vmId ) ; if ( listener != null ) { listener.rerun ( vmId ) ; } }

Target:
public void RerunFailedCommand ( org.ovirt.engine.core.compat.Guid vmId , org.ovirt.engine.core.compat.Guid vdsId ) { java.lang.Boolean value = _asyncRunningVms.remove ( vmId ) ; if ( value != null ) { getEventListener ( ) . rerun ( vmId ) ; } }
Source:
public void shouldNotDoWithoutPinnedHost ( ) { vm.setMigrationSupport ( MigrationSupport.MIGRATABLE ) ; vm.setDedicatedVmForVdsList ( new java.util.ArrayList < > ( ) ) ; assertValidationFailure ( org.ovirt.engine.core.bll.numa.vm.NumaValidator.checkVmNumaNodesIntegrity ( vm , vm.getvNumaNodeList ( ) ) , EngineMessage.ACTION_TYPE_FAILED_VM_NOT_PINNED_TO_HOST ) ; }

Target:
public void shouldNotDoWithoutPinnedHost ( ) { vm.setMigrationSupport ( MigrationSupport.MIGRATABLE ) ; vm.setDedicatedVmForVdsList ( new java.util.ArrayList < > ( ) ) ; assertValidationFailure ( underTest.checkVmNumaNodesIntegrity ( vm , vm.getvNumaNodeList ( ) ) , EngineMessage.ACTION_TYPE_FAILED_VM_NOT_PINNED_TO_HOST ) ; }
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event < ? extends org.ovirt.engine.ui.uicompat.EventArgs > ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { clearVms ( ) ; }

Target:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event < ? extends org.ovirt.engine.ui.uicompat.EventArgs > ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { clearVms ( ) ; clearValidations ( ) ; }
Source:
public void checkValidIpConfigurationDHCPBootProtocol ( ) { initIpConfigurationDetails ( NetworkBootProtocol.DHCP , false , false ) ; org.ovirt.engine.core.bll.ValidationResult actual = underTest.validateNetworkAttachmentIpConfiguration ( networkAttachments ) ; org.junit.Assert.assertEquals ( ValidationResult.VALID , actual ) ; }

Target:
public void checkValidIpConfigurationDHCPBootProtocol ( ) { initIpConfigurationDetails ( Ipv4BootProtocol.DHCP , false , false ) ; org.ovirt.engine.core.bll.ValidationResult actual = underTest.validateNetworkAttachmentIpConfiguration ( networkAttachments ) ; org.junit.Assert.assertEquals ( ValidationResult.VALID , actual ) ; }
Source:
org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumeGeoRepConfigListXmlRpc glusterVolumeGeoRepConfigList ( java.lang.String volumeName , java.lang.String slaveHost , java.lang.String slaveVolumeName ) ;

Target:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc glusterVolumeGeoRepConfigReset ( java.lang.String volumeName , java.lang.String slaveHost , java.lang.String slaveVolumeName , java.lang.String configKey , java.lang.String userName ) ;
Source:
public void setLabelStyleName ( java.lang.String styleName ) { labelElement.setClassName ( styleName ) ; }

Target:
public void setContentWidgetContainerStyleName ( java.lang.String styleName ) { contentWidgetContainer.setStyleName ( styleName ) ; }
Source:
public void invalidUnlessConditionDoesntOccur ( ) { org.junit.Assert.assertThat ( org.ovirt.engine.core.bll.ValidationResult.failWith ( org.ovirt.engine.core.bll.ValidationResultTest.ERROR ) . unless ( false ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( org.ovirt.engine.core.bll.ValidationResultTest.ERROR ) ) ; }

Target:
public void invalidUnlessConditionDoesntOccur ( ) { org.hamcrest.MatcherAssert.assertThat ( org.ovirt.engine.core.bll.ValidationResult.failWith ( org.ovirt.engine.core.bll.ValidationResultTest.ERROR ) . unless ( false ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( org.ovirt.engine.core.bll.ValidationResultTest.ERROR ) ) ; }
Source:
java.util.List < org.ovirt.engine.core.common.businessentities.VDS > getAllForVdsGroupWithoutMigrating ( org.ovirt.engine.core.compat.Guid vdsGroup ) ;

Target:
java.util.List < org.ovirt.engine.core.common.businessentities.VDS > getAllForClusterWithoutMigrating ( org.ovirt.engine.core.compat.Guid clusterId ) ;
Source:
public javax.ws.rs.core.Response activate ( org.ovirt.engine.api.model.Action action ) { org.ovirt.engine.core.common.action.HotPlugUnplugVmNicParameters params = new org.ovirt.engine.core.common.action.HotPlugUnplugVmNicParameters ( guid , org.ovirt.engine.core.common.action.PlugAction.PLUG ) ; org.ovirt.engine.api.restapi.resource.BackendNicsResource parent = ( ( org.ovirt.engine.api.restapi.resource.BackendNicsResource ) ( collection ) ) ; params.setVmId ( parent.parentId ) ; return performAction ( VdcActionType.HotPlugUnplugVmNic , params ) ; }

Target:
public javax.ws.rs.core.Response activate ( org.ovirt.engine.api.model.Action action ) { org.ovirt.engine.core.common.action.HotPlugUnplugVmNicParameters params = new org.ovirt.engine.core.common.action.HotPlugUnplugVmNicParameters ( guid , org.ovirt.engine.core.common.action.PlugAction.PLUG ) ; org.ovirt.engine.api.restapi.resource.BackendNicsResource parent = ( ( org.ovirt.engine.api.restapi.resource.BackendNicsResource ) ( collection ) ) ; params.setVmId ( parent.parentId ) ; return doAction ( VdcActionType.HotPlugUnplugVmNic , params , action ) ; }
Source:
protected void updateHostPinning ( org.ovirt.engine.core.common.businessentities.MigrationSupport migrationSupport ) { getModel ( ) . getMigrationMode ( ) . setSelectedItem ( migrationSupport ) ; }

Target:
protected void updateCustomPropertySheet ( org.ovirt.engine.core.compat.Version clusterVersion ) { getModel ( ) . getCustomPropertySheet ( ) . setKeyValueString ( getModel ( ) . getCustomPropertiesKeysList ( ) . get ( clusterVersion ) ) ; }
Source:
public void existingIscsiBondsForNetowrkTest ( ) throws java.lang.Exception { notIscsiBondNetworkTest ( org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.NETWORK_CANNOT_REMOVE_ISCSI_BOND_NETWORK ) , getIscsiBondList ( ) ) ; }

Target:
public void existingIscsiBondsForNetowrkTest ( ) throws java.lang.Exception { notIscsiBondNetworkTest ( org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.NETWORK_CANNOT_REMOVE_ISCSI_BOND_NETWORK ) , org.ovirt.engine.core.bll.validator.NetworkValidatorTest.getIscsiBondList ( ) ) ; }
Source:
private void initSelectWidgets ( ) { applyToAllEditor = new org.ovirt.engine.ui.common.widget.editor.EntityModelCheckBoxEditor ( org.ovirt.engine.ui.common.widget.Align.RIGHT ) ; cloneEditor = new org.ovirt.engine.ui.common.widget.editor.EntityModelRadioButtonEditor ( "1" ) ; noCloneEditor = new org.ovirt.engine.ui.common.widget.editor.EntityModelRadioButtonEditor ( "1" ) ; }

Target:
private void initSelectWidgets ( ) { applyToAllEditor = new org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor ( org.ovirt.engine.ui.common.widget.Align.RIGHT ) ; cloneEditor = new org.ovirt.engine.ui.common.widget.editor.generic.EntityModelRadioButtonEditor ( "1" ) ; noCloneEditor = new org.ovirt.engine.ui.common.widget.editor.generic.EntityModelRadioButtonEditor ( "1" ) ; }
Source:
java.lang.String rebalanceFileSizeKb ( java.lang.String size ) ;

Target:
java.lang.String nameId ( java.lang.String name , java.lang.String id ) ;
Source:
protected org.ovirt.engine.core.common.action.VdcActionParametersBase getRemoveParameters ( org.ovirt.engine.api.model.Network entity ) { return new org.ovirt.engine.core.common.action.RemoveNetworkParameters ( entity.getId ( ) ) ; }

Target:
public org.ovirt.engine.api.model.Network lookupEntity ( org.ovirt.engine.core.compat.Guid ignore ) throws org.ovirt.engine.api.restapi.resource.BackendFailureException { return getEntity ( org.ovirt.engine.api.model.Network.class , VdcQueryType.GetNetworkById , new org.ovirt.engine.core.common.queries.IdQueryParameters ( guid ) , id ) ; }
Source:
public void updateCallBackNotified ( final org.ovirt.engine.core.compat.Guid commandId ) { org.ovirt.engine.core.common.businessentities.CommandEntity cmdEntity = get ( commandId ) ; if ( cmdEntity != null ) { cmdEntity.setCallBackNotified ( true ) ; org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getCommandEntityDao ( ) . updateNotified ( commandId ) ; } }

Target:
public void updateCallbackNotified ( final org.ovirt.engine.core.compat.Guid commandId ) { org.ovirt.engine.core.common.businessentities.CommandEntity cmdEntity = get ( commandId ) ; if ( cmdEntity != null ) { cmdEntity.setCallbackNotified ( true ) ; org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getCommandEntityDao ( ) . updateNotified ( commandId ) ; } }
Source:
protected boolean runConnectionStorageToDomain ( org.ovirt.engine.core.common.businessentities.StorageDomain storageDomain , org.ovirt.engine.core.compat.Guid vdsId , int type , org.ovirt.engine.core.common.businessentities.LUNs lun , org.ovirt.engine.core.compat.Guid storagePoolId ) { return true ; }

Target:
protected org.ovirt.engine.core.common.utils.Pair < java.lang.Boolean , org.ovirt.engine.core.common.errors.VdcFault > runConnectionStorageToDomain ( org.ovirt.engine.core.common.businessentities.StorageDomain storageDomain , org.ovirt.engine.core.compat.Guid vdsId , int type , org.ovirt.engine.core.common.businessentities.LUNs lun , org.ovirt.engine.core.compat.Guid storagePoolId ) { return new org.ovirt.engine.core.common.utils.Pair ( true , null ) ; }
Source:
protected void initTemplateDisks ( ) { if ( ( org.ovirt.engine.core.bll.AddVmCommand.getVmTemplate ( ) ) != null ) { org.ovirt.engine.core.bll.VmTemplateHandler.UpdateDisksFromDb ( org.ovirt.engine.core.bll.AddVmCommand.getVmTemplate ( ) ) ; } }

Target:
protected void initTemplateDisks ( ) { if ( ( vmDisksSource ) != null ) { org.ovirt.engine.core.bll.VmTemplateHandler.updateDisksFromDb ( vmDisksSource ) ; } }
Source:
private void NewDesktop ( ) { NewInternal ( VmType.Desktop ) ; }

Target:
private void newDesktop ( ) { newInternal ( VmType.Desktop ) ; }
Source:
public void onResize ( com.google.gwt.event.logical.shared.ResizeEvent resizeEvent ) { getView ( ) . recalculateSize ( ) ; getView ( ) . showScrollButtons ( ) ; }

Target:
public void onHeaderOffsetChange ( org.ovirt.engine.ui.common.system.HeaderOffsetChangeEvent event ) { getView ( ) . setOffset ( event.getWidth ( ) , wantsOffset ) ; if ( ( resizeHandlerRegistration ) != null ) { resizeHandlerRegistration.removeHandler ( ) ; resizeHandlerRegistration = null ; } }
Source:
protected void updateExistingEntity ( ) { existingEntity.setStatus ( JobExecutionStatus.FINISHED ) ; existingEntity.setEndTime ( new java.util.Date ( ) ) ; }

Target:
protected void updateExistingEntity ( ) { existingEntity.setStatus ( JobExecutionStatus.FINISHED ) ; existingEntity.setEndTime ( new java.util.Date ( ) ) ; existingEntity.setProgress ( 50 ) ; }
Source:
public static java.lang.String getSpiceBaseURL ( ) { return ( org.ovirt.engine.ui.uicommonweb.Configurator.getRootURL ( ) ) + "spice/" ; }

Target:
public static java.lang.String getSpiceBaseURL ( ) { return ( org.ovirt.engine.ui.frontend.utils.FrontendUrlUtils.getRootURL ( ) ) + "spice/" ; }
Source:
public org.ovirt.engine.core.common.action.VdcReturnValueBase RunUserAction ( org.ovirt.engine.core.common.action.VdcActionType actionType , org.ovirt.engine.core.common.action.VdcActionParametersBase parameters ) { if ( org.ovirt.engine.core.compat.StringHelper.isNullOrEmpty ( parameters.getHttpSessionId ( ) ) ) { return org.ovirt.engine.core.bll.Backend.NotAutorizedError ( ) ; } return RunAction ( actionType , parameters ) ; }

Target:
public java.util.ArrayList < org.ovirt.engine.core.common.action.VdcReturnValueBase > runInternalMultipleActions ( org.ovirt.engine.core.common.action.VdcActionType actionType , java.util.ArrayList < org.ovirt.engine.core.common.action.VdcActionParametersBase > parameters , org.ovirt.engine.core.bll.job.ExecutionContext executionContext ) { return runMultipleActionsImpl ( actionType , parameters , true , false , false , executionContext ) ; }
Source:
private void WipeAfterDelete_EntityChanged ( org.ovirt.engine.ui.uicompat.EventArgs e ) { if ( ( ! ( getIsWipeAfterDelete ( ) . getIsChangable ( ) ) ) && ( ( java.lang.Boolean ) ( getIsWipeAfterDelete ( ) . getEntity ( ) ) ) ) { getIsWipeAfterDelete ( ) . setEntity ( false ) ; } }

Target:
private void wipeAfterDelete_EntityChanged ( org.ovirt.engine.ui.uicompat.EventArgs e ) { if ( ( ! ( getIsWipeAfterDelete ( ) . getIsChangable ( ) ) ) && ( ( java.lang.Boolean ) ( getIsWipeAfterDelete ( ) . getEntity ( ) ) ) ) { getIsWipeAfterDelete ( ) . setEntity ( false ) ; } }
Source:
public org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.core.common.businessentities.StorageDomain , org.ovirt.engine.ui.uicommonweb.models.disks.DiskListModel , org.ovirt.engine.ui.uicommonweb.models.disks.DiskStorageListModel > getDiskStorageModelProvider ( org.ovirt.engine.ui.webadmin.gin.ClientGinjector ginjector ) { return new org.ovirt.engine.ui.common.uicommon.model.SearchableDetailTabModelProvider < org.ovirt.engine.core.common.businessentities.StorageDomain , org.ovirt.engine.ui.uicommonweb.models.disks.DiskListModel , org.ovirt.engine.ui.uicommonweb.models.disks.DiskStorageListModel > ( ginjector , org.ovirt.engine.ui.uicommonweb.models.disks.DiskListModel.class , org.ovirt.engine.ui.uicommonweb.models.disks.DiskStorageListModel.class ) ; }

Target:
public org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.core.common.businessentities.StorageDomain , org.ovirt.engine.ui.uicommonweb.models.disks.DiskListModel , org.ovirt.engine.ui.uicommonweb.models.disks.DiskStorageListModel > getDiskStorageModelProvider ( com.google.gwt.event.shared.EventBus eventBus , com.google.inject.Provider < org.ovirt.engine.ui.common.presenter.popup.DefaultConfirmationPopupPresenterWidget > defaultConfirmPopupProvider ) { return new org.ovirt.engine.ui.common.uicommon.model.SearchableDetailTabModelProvider < org.ovirt.engine.core.common.businessentities.StorageDomain , org.ovirt.engine.ui.uicommonweb.models.disks.DiskListModel , org.ovirt.engine.ui.uicommonweb.models.disks.DiskStorageListModel > ( eventBus , defaultConfirmPopupProvider , org.ovirt.engine.ui.uicommonweb.models.disks.DiskListModel.class , org.ovirt.engine.ui.uicommonweb.models.disks.DiskStorageListModel.class ) ; }
Source:
public void testGetAllForVds ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.tags > result = dao.getAllForVds ( "afce7a39-8e8c-4819-ba9c-796d316592e6" ) ; assertNotNull ( result ) ; assertFalse ( result.isEmpty ( ) ) ; }

Target:
public void testGetAllForVds ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.tags > result = dao.getAllForVds ( "afce7a39-8e8c-4819-ba9c-796d316592e6" ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertFalse ( result.isEmpty ( ) ) ; }
Source:
protected void ExecuteVdsBrokerCommand ( ) { org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskStartVDSCommand.getBroker ( ) . diskReplicateStart ( org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskStartVDSCommand.getParameters ( ) . getVmId ( ) . toString ( ) , org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskStartVDSCommand.getSrcDiskXmlRpc ( ) , org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskStartVDSCommand.getDstDiskXmlRpc ( ) ) ; }

Target:
protected void ExecuteVdsBrokerCommand ( ) { status = org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskStartVDSCommand.getBroker ( ) . diskReplicateStart ( org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskStartVDSCommand.getParameters ( ) . getVmId ( ) . toString ( ) , org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskStartVDSCommand.getSrcDiskXmlRpc ( ) , org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskStartVDSCommand.getDstDiskXmlRpc ( ) ) ; org.ovirt.engine.core.vdsbroker.vdsbroker.VmReplicateDiskStartVDSCommand.ProceedProxyReturnValue ( ) ; }
Source:
public void testUpdateStatus ( ) { dao.updateStatus ( existingPool.getId ( ) , StoragePoolStatus.NotOperational ) ; existingPool.setstatus ( StoragePoolStatus.NotOperational ) ; org.ovirt.engine.core.common.businessentities.StoragePool result = dao.get ( existingPool.getId ( ) ) ; assertGetResult ( result ) ; }

Target:
public void testUpdateStatus ( ) { dao.updateStatus ( existingPool.getId ( ) , StoragePoolStatus.NotOperational ) ; existingPool.setStatus ( StoragePoolStatus.NotOperational ) ; org.ovirt.engine.core.common.businessentities.StoragePool result = dao.get ( existingPool.getId ( ) ) ; assertGetResult ( result ) ; }
Source:
public java.util.Map < java.lang.String , java.lang.Object > glusterVolumeGeoRepSessionCreate ( java.lang.String volumeName , java.lang.String remoteHost , java.lang.String remoteVolumeName , java.lang.String remoteUserName , java.lang.Boolean force ) ;

Target:
public java.util.Map < java.lang.String , java.lang.Object > glusterVolumeGeoRepSessionCreate ( java.lang.String volumeName , java.lang.String remoteHost , java.lang.String remoteVolumeName , java.lang.String userName , java.lang.Boolean force ) ;