auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
protected void separateCustomProperties ( org.ovirt.engine.core.common.businessentities.VmStatic parameterMasterVm ) { if ( ( org.ovirt.engine.core.bll.AddVmTemplateCommand.getVdsGroup ( ) ) != null ) { org.ovirt.engine.core.common.utils.customprop.VmPropertiesUtils.getInstance ( ) . separateCustomPropertiesToUserAndPredefined ( org.ovirt.engine.core.bll.AddVmTemplateCommand.getVdsGroup ( ) . getCompatibilityVersion ( ) , parameterMasterVm ) ; } }

Target:
protected void separateCustomProperties ( org.ovirt.engine.core.common.businessentities.VmStatic parameterMasterVm ) { if ( ( org.ovirt.engine.core.bll.AddVmTemplateCommand.getVdsGroup ( ) ) != null ) { org.ovirt.engine.core.common.utils.customprop.VmPropertiesUtils.getInstance ( ) . separateCustomPropertiesToUserAndPredefined ( org.ovirt.engine.core.bll.AddVmTemplateCommand.getVm ( ) . getCompatibilityVersion ( ) , parameterMasterVm ) ; } }
Source:
public java.lang.String renderNullSafe ( java.lang.Object object ) { org.ovirt.engine.core.compat.RpmVersion version = ( ( org.ovirt.engine.core.compat.RpmVersion ) ( object ) ) ; return version.getRpmName ( ) ; }

Target:
public java.lang.String renderNullSafe ( org.ovirt.engine.core.compat.RpmVersion version ) { return version.getRpmName ( ) ; }
Source:
public void canDoActionFailsOnNull ( ) { cmd = org.mockito.Mockito.spy ( createTestCommand ( null , null , 0 , 0 ) ) ; prepareMocks ( cmd ) ; org.junit.Assert.assertFalse ( cmd.canDoAction ( ) ) ; }

Target:
public void canDoActionFailsOnNull ( ) { cmd = org.mockito.Mockito.spy ( createTestCommand ( null , null , 0 , 0 , false ) ) ; prepareMocks ( cmd ) ; org.junit.Assert.assertFalse ( cmd.canDoAction ( ) ) ; }
Source:
private org.ovirt.engine.core.common.vdscommands.RemoveVMVDSCommandParameters buildRemoveVmParameters ( ) { return new org.ovirt.engine.core.common.vdscommands.RemoveVMVDSCommandParameters ( org.ovirt.engine.core.bll.RemoveVmFromImportExportCommand.getParameters ( ) . getStoragePoolId ( ) , org.ovirt.engine.core.bll.RemoveVmFromImportExportCommand.getVmId ( ) , org.ovirt.engine.core.bll.RemoveVmFromImportExportCommand.getParameters ( ) . getStorageDomainId ( ) ) ; }

Target:
private org.ovirt.engine.core.common.vdscommands.RemoveVMVDSCommandParameters buildRemoveVmParameters ( ) { return new org.ovirt.engine.core.common.vdscommands.RemoveVMVDSCommandParameters ( getParameters ( ) . getStoragePoolId ( ) , org.ovirt.engine.core.bll.RemoveVmFromImportExportCommand.getVmId ( ) , getParameters ( ) . getStorageDomainId ( ) ) ; }
Source:
public org.ovirt.optimizer.solver.test.TestOptimizer enablePolicyUnit ( org.ovirt.optimizer.solver.facts.PolicyUnit unit , int factor ) { bestSolution.getFixedFacts ( ) . add ( new org.ovirt.optimizer.solver.facts.PolicyUnitEnabled ( unit.getUuid ( ) . toString ( ) , factor ) ) ; return this ; }

Target:
public org.ovirt.optimizer.solver.test.TestOptimizer enablePolicyUnit ( org.ovirt.optimizer.solver.facts.PolicyUnit unit , int factor ) { bestSolution.getFixedFacts ( ) . add ( new org.ovirt.optimizer.solver.facts.PolicyUnitEnabled ( unit.getUuid ( ) , factor ) ) ; return this ; }
Source:
public void setvm_name ( java.lang.String value ) { if ( ! ( org.ovirt.engine.core.compat.StringHelper.EqOp ( this . mVmStatic.getvm_name ( ) , value ) ) ) { this . mVmStatic.setvm_name ( value ) ; } }

Target:
public void setvm_name ( java.lang.String value ) { this . mVmStatic.setvm_name ( value ) ; }
Source:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.GetPermissionByIdQuery.getQueryReturnValue ( ) . setReturnValue ( org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getPermissionDao ( ) . get ( org.ovirt.engine.core.bll.GetPermissionByIdQuery.getParameters ( ) . getPermissionId ( ) ) ) ; }

Target:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.GetPermissionByIdQuery.getQueryReturnValue ( ) . setReturnValue ( org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getPermissionDao ( ) . get ( org.ovirt.engine.core.bll.GetPermissionByIdQuery.getParameters ( ) . getId ( ) ) ) ; }
Source:
public short nextShort ( ) { return ( ( short ) ( super . nextInt ( ) ) ) ; }

Target:
public short nextShort ( ) { return ( ( short ) ( nextInt ( ) ) ) ; }
Source:
private static java.util.ResourceBundle readMessagesFromBundle ( ) { try { return java.util.ResourceBundle.getBundle ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.APP_ERRORS_MESSAGES_FILE_NAME ) ; } catch ( java.util.MissingResourceException e ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log.error ( ( "Could not load audit log messages from the file " + ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.APP_ERRORS_MESSAGES_FILE_NAME ) ) ) ; throw new org.ovirt.engine.core.compat.ApplicationException ( e ) ; } }

Target:
private static java.util.ResourceBundle readMessagesFromBundle ( ) { try { return java.util.ResourceBundle.getBundle ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.APP_ERRORS_MESSAGES_FILE_NAME ) ; } catch ( java.util.MissingResourceException e ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log.error ( ( "Could not load audit log messages from the file " + ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.APP_ERRORS_MESSAGES_FILE_NAME ) ) ) ; throw e ; } }
Source:
public java.util.List < org.ovirt.engine.core.common.businessentities.CommandEntity > getChildCmdsByRootCmdId ( org.ovirt.engine.core.compat.Guid cmdId ) { return commandsRepository.getCommandsCache ( ) . getChildCmdsByParentCmdId ( cmdId ) ; }

Target:
public java.util.List < org.ovirt.engine.core.common.businessentities.CommandEntity > getChildCmdsByRootCmdId ( org.ovirt.engine.core.compat.Guid cmdId ) { return commandsRepository.getChildCmdsByParentCmdId ( cmdId ) ; }
Source:
public void testGetServerConnection ( ) { org.ovirt.engine.core.common.businessentities.StorageServerConnections result = dao.get ( existingConnection.getid ( ) ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertEquals ( existingConnection , result ) ; }

Target:
public void testGetServerConnection ( ) { org.ovirt.engine.core.common.businessentities.StorageServerConnections result = dao.get ( existingConnection.getId ( ) ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertEquals ( existingConnection , result ) ; }
Source:
private void enableEditPoolFields ( ) { descriptionEditor.setEnabled ( true ) ; prestartedVmsEditor.setEnabled ( true ) ; quotaEditor.setEnabled ( true ) ; editPrestartedVmsEditor.setEnabled ( true ) ; incraseNumOfVmsEditor.setEnabled ( true ) ; editMaxAssignedVmsPerUserEditor.setEnabled ( true ) ; }

Target:
private void enableEditPoolFields ( ) { descriptionEditor.setEnabled ( true ) ; prestartedVmsEditor.setEnabled ( true ) ; editPrestartedVmsEditor.setEnabled ( true ) ; incraseNumOfVmsEditor.setEnabled ( true ) ; editMaxAssignedVmsPerUserEditor.setEnabled ( true ) ; }
Source:
public void executeCommand ( org.ovirt.engine.ui.uicommonweb.UICommand command ) { if ( command == ( getDismissCommand ( ) ) ) { dismissAlert ( ) ; } else if ( command == ( getClearAllCommand ( ) ) ) { clearAllDismissedAlerts ( ) ; } }

Target:
public void executeCommand ( org.ovirt.engine.ui.uicommonweb.UICommand command ) { super . executeCommand ( command ) ; if ( command == ( getDismissCommand ( ) ) ) { dismissAlert ( ) ; } else if ( command == ( getClearAllCommand ( ) ) ) { clearAllDismissedAlerts ( ) ; } }
Source:
org.ovirt.engine.core.common.utils.Pair < org.ovirt.engine.core.common.businessentities.VM , org.ovirt.engine.core.vdsbroker.monitoring.VdsmVm > createPair ( ) { org.ovirt.engine.core.common.utils.Pair < org.ovirt.engine.core.common.businessentities.VM , org.ovirt.engine.core.vdsbroker.monitoring.VdsmVm > pair = pairOf ( createDbVm ( ) , createVmInternalData ( ) ) ; addWatchDogEvents ( pair ) ; addClientIpChanged ( pair ) ; return pair ; }

Target:
org.ovirt.engine.core.common.utils.Pair < org.ovirt.engine.core.common.businessentities.VM , org.ovirt.engine.core.vdsbroker.monitoring.VdsmVm > createPair ( ) { org.ovirt.engine.core.common.utils.Pair < org.ovirt.engine.core.common.businessentities.VM , org.ovirt.engine.core.vdsbroker.monitoring.VdsmVm > pair = pairOf ( createDbVm ( ) , createVmInternalData ( null ) ) ; addWatchDogEvents ( pair ) ; addClientIpChanged ( pair ) ; return pair ; }
Source:
private void mockDbFacades ( ) { mockClusterDao ( ) ; mockVmDao ( ) ; mockVdsDao ( ) ; mockVdsDynamicDao ( ) ; }

Target:
private void mockDbFacades ( ) { mockVmDao ( ) ; mockVdsDao ( ) ; mockVdsDynamicDao ( ) ; }
Source:
private void hideLabels ( ) { passwordEditor.hideLabel ( ) ; publicKeyEditor.hideLabel ( ) ; overrideIpTablesEditor.hideLabel ( ) ; activateHostAfterInstallEditor.hideLabel ( ) ; }

Target:
private void hideLabels ( ) { passwordEditor.hideLabel ( ) ; publicKeyEditor.hideLabel ( ) ; }
Source:
protected void OnEntityChanged ( ) { super . OnEntityChanged ( ) ; if ( ( getEntity ( ) ) != null ) { updateHostList ( ) ; updateServiceList ( ) ; } }

Target:
protected void OnEntityChanged ( ) { super . OnEntityChanged ( ) ; if ( ( getEntity ( ) ) != null ) { updateServiceList ( ) ; updateHostList ( ) ; } }
Source:
public org.ovirt.engine.core.bll.tasks.interfaces.CommandCallback getCallback ( ) { return ( org.ovirt.engine.core.bll.RunVmCommand.getParameters ( ) . isUseCinderCommandCallback ( ) ) && ( getFlow ( ) . isStateless ( ) ) ? new org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback ( ) : null ; }

Target:
public org.ovirt.engine.core.bll.tasks.interfaces.CommandCallback getCallback ( ) { return getFlow ( ) . isStateless ( ) ? new org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback ( ) : null ; }
Source:
private boolean shouldUpdateReadOnly ( ) { return ! ( vmDeviceForVm.getIsReadOnly ( ) . equals ( getNewDisk ( ) . getReadOnly ( ) ) ) ; }

Target:
protected boolean shouldUpdateReadOnly ( ) { return ! ( vmDeviceForVm.getIsReadOnly ( ) . equals ( getNewDisk ( ) . getReadOnly ( ) ) ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; dao = prepareDAO ( dbFacade.getLunDao ( ) ) ; existingLUN = dao.get ( "1IET_00180001" ) ; newLUN = new org.ovirt.engine.core.common.businessentities.LUNs ( ) ; newLUN.setLUN_id ( "oicu812" ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; dao = dbFacade.getLunDao ( ) ; existingLUN = dao.get ( "1IET_00180001" ) ; newLUN = new org.ovirt.engine.core.common.businessentities.LUNs ( ) ; newLUN.setLUN_id ( "oicu812" ) ; }
Source:
public void updateCommandStatus ( final org.ovirt.engine.core.compat.Guid commandId , final org.ovirt.engine.core.common.asynctasks.AsyncTaskType taskType , final org.ovirt.engine.core.compat.CommandStatus status ) { commandsCache.updateCommandStatus ( commandId , taskType , status ) ; }

Target:
public void updateCommandStatus ( final org.ovirt.engine.core.compat.Guid commandId , final org.ovirt.engine.core.compat.CommandStatus status ) { commandsCache.updateCommandStatus ( commandId , status ) ; }
Source:
public void Executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.vms.VmDiskListModel localModel = ( ( org.ovirt.engine.ui.uicommonweb.models.vms.VmDiskListModel ) ( result.getState ( ) ) ) ; localModel.getWindow ( ) . StopProgress ( ) ; Cancel ( ) ; }

Target:
public void Executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.vms.VmDiskListModel localModel = ( ( org.ovirt.engine.ui.uicommonweb.models.vms.VmDiskListModel ) ( result.getState ( ) ) ) ; localModel.StopProgress ( ) ; Cancel ( ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.VM createVm ( org.ovirt.engine.core.common.businessentities.VMStatus status ) { org.ovirt.engine.core.common.businessentities.VM vm = new org.ovirt.engine.core.common.businessentities.VM ( ) ; vm.setStatus ( status ) ; vm.setGuestOs ( "rhel6" ) ; vm.setId ( vmId ) ; vm.setClusterCompatibilityVersion ( Version.v3_1 ) ; return vm ; }

Target:
protected org.ovirt.engine.core.common.businessentities.VM createVm ( org.ovirt.engine.core.common.businessentities.VMStatus status ) { org.ovirt.engine.core.common.businessentities.VM vm = new org.ovirt.engine.core.common.businessentities.VM ( ) ; vm.setStatus ( status ) ; vm.setGuestOs ( "rhel6" ) ; vm.setId ( vmId ) ; return vm ; }
Source:
public void onSuccess ( java.lang.Object target , java.lang.Object returnValue ) { org.ovirt.engine.ui.uicommonweb.models.vms.VmModelBehaviorBase behavior = ( ( org.ovirt.engine.ui.uicommonweb.models.vms.VmModelBehaviorBase ) ( target ) ) ; behavior.setMaxVmsInPool ( ( ( java.lang.Integer ) ( returnValue ) ) ) ; behavior.updateMaxNumOfVmCpus ( ) ; }

Target:
public void onSuccess ( java.lang.Integer returnValue ) { setMaxVmsInPool ( returnValue ) ; updateMaxNumOfVmCpus ( ) ; }
Source:
public void OnSuccess ( java.lang.Object target , java.lang.Object returnValue ) { org.ovirt.engine.ui.uicommonweb.models.vms.VmModelBehaviorBase behavior = ( ( org.ovirt.engine.ui.uicommonweb.models.vms.VmModelBehaviorBase ) ( target ) ) ; behavior.setMaxVmsInPool ( ( ( java.lang.Integer ) ( returnValue ) ) ) ; behavior.UpdateMaxNumOfVmCpus ( ) ; }

Target:
public void onSuccess ( java.lang.Object target , java.lang.Object returnValue ) { org.ovirt.engine.ui.uicommonweb.models.vms.VmModelBehaviorBase behavior = ( ( org.ovirt.engine.ui.uicommonweb.models.vms.VmModelBehaviorBase ) ( target ) ) ; behavior.setMaxVmsInPool ( ( ( java.lang.Integer ) ( returnValue ) ) ) ; behavior.UpdateMaxNumOfVmCpus ( ) ; }
Source:
public void markAsInvalid ( java.util.List < java.lang.String > validationHints ) { super . markAsInvalid ( validationHints ) ; java.lang.String tooltipText = org.ovirt.engine.ui.common.widget.AbstractValidatedWidgetWithLabel.getValidationTooltipText ( validationHints ) ; label.disable ( tooltipText ) ; contentWidgetContainerTooltip.setText ( tooltipText ) ; contentWidgetContainerTooltip.reconfigure ( ) ; }

Target:
public void markAsInvalid ( java.util.List < java.lang.String > validationHints ) { super . markAsInvalid ( validationHints ) ; java.lang.String tooltipText = org.ovirt.engine.ui.common.widget.AbstractValidatedWidgetWithLabel.getValidationTooltipText ( validationHints ) ; label.disable ( tooltipText ) ; contentWidgetContainerTooltip.setText ( tooltipText ) ; }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { org.ovirt.engine.core.common.queries.VdcQueryReturnValue queryRetVal = ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( returnValue ) ) ; java.lang.String signedTicket = queryRetVal.getReturnValue ( ) ; invokeClientNative ( signedTicket ) ; }

Target:
public void onSuccess ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue returnValue ) { java.lang.String signedTicket = returnValue.getReturnValue ( ) ; invokeClientNative ( signedTicket ) ; }
Source:
protected boolean hasTaskHandlers ( ) { return ( getTaskHandlers ( ) ) != null ; }

Target:
public boolean hasTaskHandlers ( ) { return ( getTaskHandlers ( ) ) != null ; }
Source:
public boolean checkIfCpusExist ( java.lang.String cpuName , org.ovirt.engine.core.compat.Version ver ) { final org.ovirt.engine.core.bll.CpuFlagsManagerHandler.CpuFlagsManager cpuFlagsManager = org.ovirt.engine.core.bll.CpuFlagsManagerHandler._managersDictionary.get ( ver ) ; if ( cpuFlagsManager != null ) { return cpuFlagsManager.CheckIfCpusExist ( cpuName ) ; } return false ; }

Target:
public boolean checkIfCpusExist ( java.lang.String cpuName , org.ovirt.engine.core.compat.Version ver ) { final org.ovirt.engine.core.bll.CpuFlagsManagerHandler.CpuFlagsManager cpuFlagsManager = org.ovirt.engine.core.bll.CpuFlagsManagerHandler._managersDictionary.get ( ver ) ; if ( cpuFlagsManager != null ) { return cpuFlagsManager.checkIfCpusExist ( cpuName ) ; } return false ; }
Source:
public org.ovirt.engine.core.common.businessentities.EngineBackupLogId getId ( ) { org.ovirt.engine.core.common.businessentities.EngineBackupLogId key = new org.ovirt.engine.core.common.businessentities.EngineBackupLogId ( ) ; key.setScope ( scope ) ; key.setDoneAt ( doneAt ) ; return key ; }

Target:
public org.ovirt.engine.core.common.businessentities.EngineBackupLogId getId ( ) { org.ovirt.engine.core.common.businessentities.EngineBackupLogId key = new org.ovirt.engine.core.common.businessentities.EngineBackupLogId ( scope , doneAt ) ; return key ; }
Source:
public boolean getRefreshStatistics ( ) { if ( ( this . vmsRefresher ) == null ) { return false ; } return this . vmsRefresher.getRefreshStatistics ( ) ; }

Target:
public boolean getRefreshStatistics ( ) { if ( ( vmsRefresher ) == null ) { return false ; } return vmsRefresher.getRefreshStatistics ( ) ; }
Source:
public boolean eval ( org.ovirt.engine.core.common.businessentities.storage_domains a ) { return ( a.getId ( ) . equals ( getStorageDomain ( ) . getId ( ) ) ) && ( ( a.getstatus ( ) ) == ( org.ovirt.engine.core.common.businessentities.StorageDomainStatus.Active ) ) ; }

Target:
public boolean eval ( org.ovirt.engine.core.common.businessentities.StorageDomain a ) { return ( a.getId ( ) . equals ( getStorageDomain ( ) . getId ( ) ) ) && ( ( a.getstatus ( ) ) == ( org.ovirt.engine.core.common.businessentities.StorageDomainStatus.Active ) ) ; }
Source:
private void raiseQueryStartedEvent ( final java.util.List < org.ovirt.engine.core.common.queries.VdcQueryType > queryTypeList , final java.lang.String context ) { for ( org.ovirt.engine.core.common.queries.VdcQueryType queryType : queryTypeList ) { raiseQueryStartedEvent ( queryType , context ) ; } }

Target:
private void raiseQueryStartedEvent ( final java.util.List < org.ovirt.engine.core.common.queries.VdcQueryType > queryTypeList , final java.lang.Object context ) { for ( org.ovirt.engine.core.common.queries.VdcQueryType queryType : queryTypeList ) { raiseQueryStartedEvent ( queryType , context ) ; } }
Source:
private void initTabAvailabilityListeners ( final org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel vm ) { highAvailabilityTab.setVisible ( false ) ; isStatelessEditor.setVisible ( true ) ; numOfMonitorsEditor.setVisible ( true ) ; allowConsoleReconnectEditor.setVisible ( true ) ; expander.setVisible ( true ) ; }

Target:
private void initTabAvailabilityListeners ( ) { highAvailabilityTab.setVisible ( false ) ; isStatelessEditor.setVisible ( true ) ; numOfMonitorsEditor.setVisible ( true ) ; allowConsoleReconnectEditor.setVisible ( true ) ; expander.setVisible ( true ) ; }
Source:
private org.ovirt.engine.core.common.businessentities.storage.ImageTransfer updateEntityPhase ( org.ovirt.engine.core.common.businessentities.storage.ImageTransferPhase phase ) { org.ovirt.engine.core.common.businessentities.storage.ImageTransferUpdates updates = new org.ovirt.engine.core.common.businessentities.storage.ImageTransferUpdates ( org.ovirt.engine.core.bll.storage.disk.image.UploadImageCommand.getCommandId ( ) ) ; updates.setPhase ( phase ) ; return updateEntity ( updates ) ; }

Target:
private org.ovirt.engine.core.common.businessentities.storage.ImageTransfer updateEntityPhase ( org.ovirt.engine.core.common.businessentities.storage.ImageTransferPhase phase ) { org.ovirt.engine.core.common.businessentities.storage.ImageTransfer updates = new org.ovirt.engine.core.common.businessentities.storage.ImageTransfer ( org.ovirt.engine.core.bll.storage.disk.image.UploadImageCommand.getCommandId ( ) ) ; updates.setPhase ( phase ) ; return updateEntity ( updates ) ; }
Source:
private void updateVlanTagChangeability ( ) { getVLanTag ( ) . setIsChangable ( ( ( java.lang.Boolean ) ( getHasVLanTag ( ) . getEntity ( ) ) ) ) ; }

Target:
private void updateVlanTagChangeability ( ) { getVLanTag ( ) . setIsChangable ( getHasVLanTag ( ) . getEntity ( ) ) ; }
Source:
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 , executionContext ) ; }

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:
public void runMultipleActions ( final org.ovirt.engine.core.common.action.VdcActionType actionType , final java.util.List < org.ovirt.engine.core.common.action.VdcActionParametersBase > parameters , final java.util.List < org.ovirt.engine.ui.uicompat.IFrontendActionAsyncCallback > callbacks , final boolean aggregateErrors ) { runMultipleActions ( actionType , parameters , callbacks , null , aggregateErrors ) ; }

Target:
public void runMultipleActions ( final org.ovirt.engine.core.common.action.VdcActionType actionType , final java.util.List < org.ovirt.engine.core.common.action.VdcActionParametersBase > parameters , final java.util.List < org.ovirt.engine.ui.uicompat.IFrontendActionAsyncCallback > callbacks ) { runMultipleActions ( actionType , parameters , callbacks , null , true ) ; }
Source:
private void constructLDAPUrlOnDNSFailure ( org.ovirt.engine.core.bll.adbroker.Domain domain ) { int ldapPort = org.ovirt.engine.core.common.config.Config.< java.lang.Integer > GetValue ( ConfigValues.LDAPServerPort ) ; java.lang.StringBuilder ldapURL = new java.lang.StringBuilder ( ) ; ldapURL.append ( "ldap://" ) . append ( domain.getName ( ) ) . append ( ":" ) . append ( ldapPort ) ; try { java.net.URI uri = new java.net.URI ( ldapURL.toString ( ) ) ; domain.addLDAPServer ( uri ) ; } catch ( java.net.URISyntaxException e ) { org.ovirt.engine.core.bll.adbroker.UsersDomainsCacheManagerService.log.error ( "Failed constructing LDAP server URL for domain " ) ; } }

Target:
private void constructLDAPUrlOnDNSFailure ( org.ovirt.engine.core.bll.adbroker.Domain domain ) { int ldapPort = org.ovirt.engine.core.common.config.Config.< java.lang.Integer > getValue ( ConfigValues.LDAPServerPort ) ; java.lang.StringBuilder ldapURL = new java.lang.StringBuilder ( ) ; ldapURL.append ( "ldap://" ) . append ( domain.getName ( ) ) . append ( ":" ) . append ( ldapPort ) ; try { java.net.URI uri = new java.net.URI ( ldapURL.toString ( ) ) ; domain.addLDAPServer ( uri ) ; } catch ( java.net.URISyntaxException e ) { org.ovirt.engine.core.bll.adbroker.UsersDomainsCacheManagerService.log.error ( "Failed constructing LDAP server URL for domain " ) ; } }
Source:
protected org.ovirt.engine.core.compat.Guid getCurrentVdsId ( ) { return org.ovirt.engine.core.bll.RunVmCommandBase.getVds ( ) . getId ( ) ; }

Target:
protected org.ovirt.engine.core.compat.Guid getCurrentVdsId ( ) { org.ovirt.engine.core.common.businessentities.VDS vds = org.ovirt.engine.core.bll.RunVmCommandBase.getVds ( ) ; return vds != null ? vds.getId ( ) : null ; }
Source:
protected boolean canDoAction ( ) { boolean canDoAction = super . canDoAction ( ) ; if ( ! canDoAction ) { auditLogDirector.log ( this , AuditLogType.USER_MOVED_VM_DISK_FINISHED_FAILURE ) ; } return canDoAction ; }

Target:
protected boolean validate ( ) { boolean validate = super . validate ( ) ; if ( ! validate ) { auditLogDirector.log ( this , AuditLogType.USER_MOVED_VM_DISK_FINISHED_FAILURE ) ; } return validate ; }
Source:
public void setstorage_name ( java.lang.String value ) { if ( ! ( org.ovirt.engine.core.compat.StringHelper.EqOp ( getStorageStaticData ( ) . getstorage_name ( ) , value ) ) ) { getStorageStaticData ( ) . setstorage_name ( value ) ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "storage_name" ) ) ; } }

Target:
public void setstorage_name ( java.lang.String value ) { if ( ! ( org.ovirt.engine.core.compat.StringHelper.EqOp ( getStorageStaticData ( ) . getstorage_name ( ) , value ) ) ) { getStorageStaticData ( ) . setstorage_name ( value ) ; } }
Source:
private void init ( ) { org.ovirt.engine.core.dal.dbbroker.DbFacade.log.info ( "Initializing the DbFacade" ) ; dbFacadeLocator.configure ( this ) ; org.ovirt.engine.core.dal.dbbroker.DbFacade.instance = this ; }

Target:
private void init ( ) { org.ovirt.engine.core.dal.dbbroker.DbFacade.log.info ( "Initializing the DbFacade" ) ; org.ovirt.engine.core.dal.dbbroker.DbFacade.instance = this ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.VM object ) { return java.lang.String.valueOf ( object.getnum_of_cpus ( ) ) ; }

Target:
public java.lang.String getValue ( java.lang.Object object ) { return java.lang.String.valueOf ( ( ( org.ovirt.engine.core.common.businessentities.VM ) ( object ) ) . getnum_of_cpus ( ) ) ; }
Source:
protected void mockNonInterestingMethodsForCloneVmFromSnapshot ( org.ovirt.engine.core.bll.AddVmFromSnapshotCommand < org.ovirt.engine.core.common.action.AddVmFromSnapshotParameters > cmd ) { mockUninterestingMethods ( cmd ) ; org.powermock.api.mockito.PowerMockito.doReturn ( true ) . when ( cmd ) . checkCpuSockets ( ) ; org.powermock.api.mockito.PowerMockito.doReturn ( null ) . when ( cmd ) . getVmFromConfiguration ( ) ; }

Target:
protected void mockNonInterestingMethodsForCloneVmFromSnapshot ( org.ovirt.engine.core.bll.AddVmFromSnapshotCommand < org.ovirt.engine.core.common.action.AddVmFromSnapshotParameters > cmd ) { mockUninterestingMethods ( cmd ) ; org.mockito.Mockito.doReturn ( true ) . when ( cmd ) . checkCpuSockets ( ) ; org.mockito.Mockito.doReturn ( null ) . when ( cmd ) . getVmFromConfiguration ( ) ; }
Source:
public void setCidr ( org.ovirt.engine.ui.uicommonweb.models.EntityModel < java.lang.String > cidr ) { this . cidr = cidr ; }

Target:
private void setCidr ( org.ovirt.engine.ui.uicommonweb.models.EntityModel < java.lang.String > cidr ) { this . cidr = cidr ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.ui.uicommonweb.models.EntityModel < org.ovirt.engine.core.common.businessentities.VM > externalVmModel ) { return toCellString ( externalVmModel ) ; }

Target:
public java.lang.String getValue ( org.ovirt.engine.ui.uicommonweb.models.EntityModel < org.ovirt.engine.core.common.businessentities.VM > externalVmModel ) { return externalVmModel.getEntity ( ) . getName ( ) ; }
Source:
public void update ( int index , org.ovirt.engine.core.common.businessentities.Provider provider , java.lang.String value ) { transitionHandler.handlePlaceTransition ( ) ; }

Target:
public void update ( int index , org.ovirt.engine.core.common.businessentities.Provider provider , java.lang.String value ) { transitionHandler.handlePlaceTransition ( true ) ; }
Source:
private void mockDbDao ( ) { mockClusterDao ( ) ; mockVMTemplateDao ( ) ; mockVmNetworkInterfaceDao ( ) ; mockStoragePoolDao ( ) ; }

Target:
private void mockDbDao ( ) { mockClusterDao ( ) ; mockVMTemplateDao ( ) ; mockStoragePoolDao ( ) ; }
Source:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.GetTagsByVdsIdQuery.getQueryReturnValue ( ) . setReturnValue ( org.ovirt.engine.core.bll.DbFacade.getInstance ( ) . getTagDao ( ) . getAllForVds ( org.ovirt.engine.core.bll.GetTagsByVdsIdQuery.getParameters ( ) . getVdsId ( ) ) ) ; }

Target:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.GetTagsByVdsIdQuery.getQueryReturnValue ( ) . setReturnValue ( org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getTagDao ( ) . getAllForVds ( org.ovirt.engine.core.bll.GetTagsByVdsIdQuery.getParameters ( ) . getVdsId ( ) ) ) ; }
Source:
private void simulateNetworkExists ( ) { org.mockito.Mockito.when ( networkDao.get ( org.ovirt.engine.core.bll.validator.VfsConfigValidatorTest.NETWORK_ID ) ) . thenReturn ( network ) ; org.mockito.Mockito.when ( network.getId ( ) ) . thenReturn ( org.ovirt.engine.core.bll.validator.VfsConfigValidatorTest.NETWORK_ID ) ; org.mockito.Mockito.when ( network.getName ( ) ) . thenReturn ( org.ovirt.engine.core.bll.validator.VfsConfigValidatorTest.NETWORK_NAME ) ; }

Target:
private void simulateNetworkExists ( ) { org.mockito.Mockito.when ( networkDao.get ( org.ovirt.engine.core.bll.validator.VfsConfigValidatorTest.NETWORK_ID ) ) . thenReturn ( network ) ; org.mockito.Mockito.when ( network.getName ( ) ) . thenReturn ( org.ovirt.engine.core.bll.validator.VfsConfigValidatorTest.NETWORK_NAME ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { if ( ( source != null ) && ( ( ( ( java.util.List ) ( source ) ) . size ( ) ) > 0 ) ) { 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 org.ovirt.engine.core.common.businessentities.VdsNetworkInterface createBond ( java.lang.String networkName ) { return createVdsInterface ( org.ovirt.engine.core.compat.Guid.NewGuid ( ) , "bond0" , true , null , null , networkName ) ; }

Target:
private org.ovirt.engine.core.common.businessentities.VdsNetworkInterface createBond ( java.lang.String name , java.lang.String networkName ) { return createVdsInterface ( org.ovirt.engine.core.compat.Guid.NewGuid ( ) , name , true , null , null , networkName ) ; }
Source:
public org.ovirt.engine.core.bll.network.macpool.MacPool createMacPool ( org.ovirt.engine.core.bll.network.macpool.MacPool macPool ) { return new org.ovirt.engine.core.bll.network.macpool.MacPoolUsingRanges ( macPool.getId ( ) , org.ovirt.engine.core.utils.MacAddressRangeUtils.macPoolToRanges ( macPool ) , macPool.isAllowDuplicateMacAddresses ( ) ) ; }

Target:
public org.ovirt.engine.core.bll.network.macpool.MacPool createMacPool ( org.ovirt.engine.core.bll.network.macpool.MacPool macPool ) { return new org.ovirt.engine.core.bll.network.macpool.MacPoolUsingRanges ( org.ovirt.engine.core.utils.MacAddressRangeUtils.macPoolToRanges ( macPool ) , macPool.isAllowDuplicateMacAddresses ( ) ) ; }
Source:
public void updateCallBackNotified ( final org.ovirt.engine.core.compat.Guid commandId ) { org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope ( TransactionScopeOption.Required , new org.ovirt.engine.core.utils.transaction.TransactionMethod < java.lang.Void > ( ) { @ java.lang.Override public java.lang.Void runInTransaction ( ) { commandsCache.updateCallBackNotified ( commandId ) ; return null ; } } ) ; }

Target:
public void updateCallBackNotified ( final org.ovirt.engine.core.compat.Guid commandId ) { commandsCache.updateCallBackNotified ( commandId ) ; }
Source:
private void assertLunIdInList ( java.util.List < org.ovirt.engine.core.common.businessentities.storage.LUNs > luns , org.ovirt.engine.core.compat.Guid requestedLunId ) { org.junit.Assert.assertEquals ( luns.stream ( ) . map ( LUNs :: getLUNId ) . findAny ( ) . orElse ( null ) , requestedLunId.toString ( ) ) ; }

Target:
private void assertLunIdInList ( java.util.List < org.ovirt.engine.core.common.businessentities.storage.LUNs > luns , org.ovirt.engine.core.compat.Guid requestedLunId ) { assertLunIdInList ( luns , requestedLunId.toString ( ) ) ; }
Source:
org.ovirt.engine.ui.uicommonweb.validation.ValidationResult Validate ( T value ) ;

Target:
org.ovirt.engine.ui.uicommonweb.validation.ValidationResult validate ( java.lang.Object value ) ;
Source:
public java.lang.Object call ( ) throws java.lang.Exception { _parser.cliEnvironmentSet ( NetEnv.SSH_KEY , org.ovirt.engine.core.utils.crypt.EngineEncryptionUtils.getEngineSSHPublicKey ( ) . replace ( "\n" , "" ) ) ; return null ; }

Target:
public java.lang.Boolean call ( ) throws java.lang.Exception { _parser.cliEnvironmentSet ( NetEnv.SSH_KEY , org.ovirt.engine.core.utils.crypt.EngineEncryptionUtils.getEngineSSHPublicKey ( ) . replace ( "\n" , "" ) ) ; return true ; }
Source:
public void onSuccess ( java.lang.Object ReturnValue ) { setItems ( ( ( java.util.Collection < org.ovirt.engine.core.common.businessentities.VM > ) ( ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( ReturnValue ) ) . getReturnValue ( ) ) ) ) ; }

Target:
public void onSuccess ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue returnValue ) { setItems ( ( ( java.util.Collection < org.ovirt.engine.core.common.businessentities.VM > ) ( returnValue.getReturnValue ( ) ) ) ) ; }
Source:
public void removePool ( org.ovirt.engine.core.compat.Guid macPoolId ) { try ( org.ovirt.engine.core.utils.lock.AutoCloseableLock lock = writeLockResource ( ) ) { checkInitialized ( ) ; removeWithoutLocking ( macPoolId ) ; } }

Target:
public void removePool ( org.ovirt.engine.core.compat.Guid macPoolId ) { try ( org.ovirt.engine.core.utils.lock.AutoCloseableLock lock = writeLockResource ( ) ) { removeWithoutLocking ( macPoolId ) ; } }
Source:
org.ovirt.engine.core.common.queries.VdcQueryReturnValue RunQuery ( org.ovirt.engine.core.common.queries.VdcQueryType actionType , org.ovirt.engine.core.common.queries.VdcQueryParametersBase parameters ) ;

Target:
org.ovirt.engine.core.common.queries.VdcQueryReturnValue runQuery ( org.ovirt.engine.core.common.queries.VdcQueryType actionType , org.ovirt.engine.core.common.queries.VdcQueryParametersBase parameters ) ;
Source:
public org.ovirt.engine.api.resource.FilterResource getSubResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendFilterResource ( id , schedulingPolicyId ) ) ; }

Target:
public org.ovirt.engine.api.resource.FilterResource getSubResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendFilterResource ( id , this ) ) ; }
Source:
public void init ( ) { startProgress ( null ) ; 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 ( ) ; }
Source:
public org.ovirt.engine.core.searchbackend.IConditionValueAutoCompleter getFieldValueAutoCompleter ( java.lang.String obj , java.lang.String fieldName ) { org.ovirt.engine.core.searchbackend.IConditionValueAutoCompleter retval = null ; org.ovirt.engine.core.searchbackend.IConditionFieldAutoCompleter curConditionFieldAC = getFieldAutoCompleter ( obj ) ; if ( curConditionFieldAC != null ) { retval = curConditionFieldAC.getFieldValueAutoCompleter ( fieldName ) ; } return retval ; }

Target:
public org.ovirt.engine.core.searchbackend.IConditionValueAutoCompleter getFieldValueAutoCompleter ( java.lang.String obj , java.lang.String fieldName ) { final org.ovirt.engine.core.searchbackend.IConditionFieldAutoCompleter curConditionFieldAC = getFieldAutoCompleter ( obj ) ; if ( curConditionFieldAC != null ) { return curConditionFieldAC.getFieldValueAutoCompleter ( fieldName ) ; } return null ; }
Source:
private int getBlockSparseInitSizeInGB ( ) { return org.ovirt.engine.core.common.config.Config.< java.lang.Integer > GetValue ( ConfigValues.InitStorageSparseSizeInGB ) . intValue ( ) ; }

Target:
private int getBlockSparseInitSizeInGB ( ) { return org.ovirt.engine.core.common.config.Config.< java.lang.Integer > getValue ( ConfigValues.InitStorageSparseSizeInGB ) . intValue ( ) ; }
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 ) { if ( ( hasModel ( ) ) && ( handleItemsChangedEvent ( ) ) ) { updateData ( ) ; } }

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 ) { if ( handleItemsChangedEvent ( ) ) { updateData ( ) ; } }
Source:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { actionButton.setVisible ( false ) ; dragImage.setVisible ( false ) ; this . onAction ( ) ; }

Target:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { dragImage.setVisible ( false ) ; this . onAction ( ) ; }
Source:
protected boolean canDoAction ( ) { return canMigrateVm ( org.ovirt.engine.core.bll.MigrateVmCommand.getVmId ( ) , org.ovirt.engine.core.bll.MigrateVmCommand.getReturnValue ( ) . getCanDoActionMessages ( ) ) ; }

Target:
protected boolean canDoAction ( ) { return canMigrateVm ( org.ovirt.engine.core.bll.MigrateVmCommand.getVm ( ) ) ; }
Source:
public org.ovirt.engine.api.model.VMs list ( ) { if ( isFiltered ( ) ) return mapCollection ( getBackendCollection ( VdcQueryType.GetAllVms , new org.ovirt.engine.core.common.queries.VdcQueryParametersBase ( ) ) ) ; else return mapCollection ( getBackendCollection ( SearchType.VM ) ) ; }

Target:
public org.ovirt.engine.api.model.VMs list ( ) { if ( isFiltered ( ) ) return mapCollection ( getBackendCollection ( VdcQueryType.GetAllVms , new org.ovirt.engine.core.common.queries.VdcQueryParametersBase ( ) ) , true ) ; else return mapCollection ( getBackendCollection ( SearchType.VM ) , false ) ; }
Source:
public boolean isEnabled ( ) { for ( org.ovirt.engine.ui.uicommonweb.models.EntityModel model : getClustersTableItems ( ) ) { org.ovirt.engine.ui.uicommonweb.models.datacenters.NetworkClusterModel networkClusterModel = ( ( org.ovirt.engine.ui.uicommonweb.models.datacenters.NetworkClusterModel ) ( model ) ) ; if ( networkClusterModel.getIsChangable ( ) ) { return true ; } } return false ; }

Target:
public boolean isEnabled ( ) { for ( org.ovirt.engine.ui.uicommonweb.models.datacenters.NetworkClusterModel networkClusterModel : getClustersTableItems ( ) ) { if ( networkClusterModel.getIsChangable ( ) ) { return true ; } } return false ; }
Source:
private void initTabAvailabilityListeners ( final org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel vm ) { highAvailabilityTab.setVisible ( true ) ; isStatelessEditor.setVisible ( false ) ; numOfMonitorsEditor.setVisible ( false ) ; allowConsoleReconnectEditor.setVisible ( false ) ; expander.setVisible ( false ) ; }

Target:
private void initTabAvailabilityListeners ( final org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel vm ) { highAvailabilityTab.setVisible ( true ) ; isStatelessEditor.setVisible ( false ) ; numOfMonitorsEditor.setVisible ( false ) ; }
Source:
private org.ovirt.engine.core.bll.network.cluster.AddClusterNetworkClusterValidator createNetworkClusterValidator ( ) { final org.ovirt.engine.core.common.businessentities.network.NetworkCluster networkCluster = createManagementNetworkCluster ( ) ; return new org.ovirt.engine.core.bll.network.cluster.AddClusterNetworkClusterValidator ( interfaceDao , networkDao , networkCluster , org.ovirt.engine.core.bll.AddClusterCommand.getCluster ( ) . getCompatibilityVersion ( ) ) ; }

Target:
private org.ovirt.engine.core.bll.network.cluster.AddClusterNetworkClusterValidator createNetworkClusterValidator ( ) { final org.ovirt.engine.core.common.businessentities.network.NetworkCluster networkCluster = createManagementNetworkCluster ( ) ; return new org.ovirt.engine.core.bll.network.cluster.AddClusterNetworkClusterValidator ( interfaceDao , networkDao , networkCluster ) ; }
Source:
public void onSuccess ( java.lang.Object target , java.lang.Object returnValue ) { org.ovirt.engine.ui.uicommonweb.models.vms.VmDiskListModel model = ( ( org.ovirt.engine.ui.uicommonweb.models.vms.VmDiskListModel ) ( target ) ) ; org.ovirt.engine.core.common.businessentities.StoragePool storagePool = ( ( org.ovirt.engine.core.common.businessentities.StoragePool ) ( returnValue ) ) ; model.setDataCenterVersion ( storagePool.getCompatibilityVersion ( ) ) ; }

Target:
public void onSuccess ( org.ovirt.engine.core.common.businessentities.StoragePool storagePool ) { setDataCenterVersion ( storagePool.getCompatibilityVersion ( ) ) ; }
Source:
public static < S , D > void build ( S source , D destination , org.ovirt.engine.ui.uicommonweb.builders.SyncBuilder < S , D > ... builders ) { new org.ovirt.engine.ui.uicommonweb.builders.BuilderExecutor < S , D > ( builders ) . build ( source , destination ) ; }

Target:
public static < S , D > void build ( S source , D destination , org.ovirt.engine.ui.uicommonweb.builders.SyncBuilder < S , D > ... builders ) { new org.ovirt.engine.ui.uicommonweb.builders.BuilderExecutor ( builders ) . build ( source , destination ) ; }
Source:
public void testGet ( ) throws java.lang.Exception { setUriInfo ( setUpUriInfoExpectations ( ) ) ; setUpGetEntityExpectations ( ) ; control.replay ( ) ; verifyModel ( resource.get ( ) ) ; }

Target:
public void testGet ( ) throws java.lang.Exception { setUriInfo ( setUpUriInfoExpectations ( ) ) ; setUpGetEntityExpectations ( ) ; verifyModel ( resource.get ( ) ) ; }
Source:
protected java.util.List < com.google.gwt.user.client.ui.Widget > resourceAllocationTemplateHiddenFields ( ) { return java.util.Arrays.< com.google.gwt.user.client.ui.Widget > asList ( cpuSharesPanel , cpuPinningPanel , memAllocationPanel , storageAllocationPanel , disksAllocationPanel ) ; }

Target:
protected java.util.List < com.google.gwt.user.client.ui.Widget > resourceAllocationTemplateHiddenFields ( ) { return java.util.Arrays.< com.google.gwt.user.client.ui.Widget > asList ( cpuPinningPanel , storageAllocationPanel , disksAllocationPanel ) ; }
Source:
private boolean canExecuteCommand ( org.ovirt.engine.core.common.action.VdcActionType actionType ) { return org.ovirt.engine.core.common.VdcActionUtils.canExecute ( new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.VDS > ( java.util.Arrays.asList ( new org.ovirt.engine.core.common.businessentities.VDS [ ] { getEntity ( ) } ) ) , org.ovirt.engine.core.common.businessentities.VDS.class , actionType ) ; }

Target:
private boolean canExecuteCommand ( org.ovirt.engine.core.common.action.VdcActionType actionType ) { return org.ovirt.engine.core.common.VdcActionUtils.canExecute ( new java.util.ArrayList ( java.util.Arrays.asList ( new org.ovirt.engine.core.common.businessentities.VDS [ ] { getEntity ( ) } ) ) , org.ovirt.engine.core.common.businessentities.VDS.class , actionType ) ; }
Source:
public void vdsMovedToMaintenance ( org.ovirt.engine.core.common.businessentities.VDS vds ) { try { org.ovirt.engine.core.bll.MaintenanceVdsCommand.processStorageOnVdsInactive ( vds ) ; } finally { org.ovirt.engine.core.bll.job.ExecutionHandler.updateSpecificActionJobCompleted ( vds.getId ( ) , VdcActionType.MaintenanceVds , true ) ; } }

Target:
public void vdsMovedToMaintenance ( org.ovirt.engine.core.common.businessentities.VDS vds ) { try { processStorageOnVdsInactive ( vds ) ; } finally { org.ovirt.engine.core.bll.job.ExecutionHandler.updateSpecificActionJobCompleted ( vds.getId ( ) , VdcActionType.MaintenanceVds , true ) ; } }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { dcLabels = ( ( java.util.SortedSet < java.lang.String > ) ( returnValue ) ) ; initLabelModels ( ) ; queryNetworks ( ) ; }

Target:
public void onSuccess ( java.util.SortedSet < java.lang.String > returnValue ) { dcLabels = returnValue ; initLabelModels ( ) ; queryNetworks ( ) ; }
Source:
void addPlugin ( org.ovirt.engine.ui.webadmin.plugin.Plugin plugin ) { plugins.put ( plugin.getMetaData ( ) . getName ( ) , plugin ) ; }

Target:
void addPlugin ( org.ovirt.engine.ui.webadmin.plugin.Plugin plugin ) { plugins.put ( plugin.getName ( ) , plugin ) ; }
Source:
public java.lang.Object call ( ) throws java.lang.Exception { if ( ( _iptables.length ( ) ) == 0 ) { _parser.cliNoop ( ) ; } else { _parser.cliEnvironmentSet ( NetEnv.IPTABLES_RULES , _iptables.split ( "\n" ) ) ; } return null ; }

Target:
public java.lang.Object call ( ) throws java.lang.Exception { _parser.cliEnvironmentSet ( NetEnv.IPTABLES_RULES , _iptables.split ( "\n" ) ) ; return null ; }
Source:
protected java.lang.String getClusterName ( ) { return getParentEntity ( ) . getVdsGroupName ( ) ; }

Target:
protected java.lang.String getClusterName ( ) { return getEntity ( ) . getVdsGroupName ( ) ; }
Source:
org.ovirt.engine.ui.webadmin.widget.host.BondPanel createBondPanel ( org.ovirt.engine.ui.uicommonweb.models.hosts.HostInterfaceLineModel lineModel ) { org.ovirt.engine.ui.webadmin.widget.host.BondPanel panel = new org.ovirt.engine.ui.webadmin.widget.host.BondPanel ( lineModel ) ; panel.setWidth ( "100%" ) ; panel.setHeight ( "100%" ) ; addClickHandlerToPanel ( panel , lineModel ) ; return panel ; }

Target:
org.ovirt.engine.ui.webadmin.widget.host.BondPanel createBondPanel ( org.ovirt.engine.ui.uicommonweb.models.hosts.HostInterfaceLineModel lineModel ) { org.ovirt.engine.ui.webadmin.widget.host.BondPanel panel = new org.ovirt.engine.ui.webadmin.widget.host.BondPanel ( lineModel ) ; panel.setWidth ( "100%" ) ; panel.setHeight ( "100%" ) ; return panel ; }
Source:
public abstract com.google.gwt.safehtml.shared.SafeHtml getTooltip ( T networkView ) ;

Target:
public abstract com.google.gwt.safehtml.shared.SafeHtml getTooltip ( T object ) ;
Source:
private void processVmPoolOnStopVm ( ) { org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil.execute ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { org.ovirt.engine.core.bll.VmPoolHandler.processVmPoolOnStopVm ( getVm ( ) . getId ( ) , org.ovirt.engine.core.bll.job.ExecutionHandler.createDefaultContexForTasks ( getExecutionContext ( ) ) ) ; } } ) ; }

Target:
protected void processVmPoolOnStopVm ( ) { org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil.execute ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { org.ovirt.engine.core.bll.VmPoolHandler.processVmPoolOnStopVm ( getVm ( ) . getId ( ) , org.ovirt.engine.core.bll.job.ExecutionHandler.createDefaultContexForTasks ( getExecutionContext ( ) ) ) ; } } ) ; }
Source:
public static org.ovirt.engine.core.utils.crypt.TicketUtils getInstanceForEngineStoreSigning ( ) throws java.io.IOException , java.security.KeyStoreException , java.security.NoSuchAlgorithmException , java.security.UnrecoverableKeyException , java.security.cert.CertificateException { return new org.ovirt.engine.core.utils.crypt.TicketUtils ( org.ovirt.engine.core.utils.crypt.EngineEncryptionUtils.getPrivateKeyEntry ( ) . getPrivateKey ( ) , org.ovirt.engine.core.common.config.Config.< java.lang.Integer > GetValue ( ConfigValues.WebSocketProxyTicketValiditySeconds ) ) ; }

Target:
public static org.ovirt.engine.core.utils.crypt.TicketUtils getInstanceForEngineStoreSigning ( ) throws java.io.IOException , java.security.KeyStoreException , java.security.NoSuchAlgorithmException , java.security.UnrecoverableKeyException , java.security.cert.CertificateException { return new org.ovirt.engine.core.utils.crypt.TicketUtils ( org.ovirt.engine.core.utils.crypt.EngineEncryptionUtils.getPrivateKeyEntry ( ) . getPrivateKey ( ) , org.ovirt.engine.core.common.config.Config.< java.lang.Integer > getValue ( ConfigValues.WebSocketProxyTicketValiditySeconds ) ) ; }
Source:
public org.ovirt.vdsm.jsonrpc.client.ResponseBuilder withError ( java.util.Map < java.lang.String , java.lang.Object > error ) { this . result = org.ovirt.vdsm.jsonrpc.client.ResponseBuilder.OBJECT_MAPPER.valueToTree ( error ) ; return this ; }

Target:
public org.ovirt.vdsm.jsonrpc.client.ResponseBuilder withError ( java.util.Map < java.lang.String , java.lang.Object > error ) { this . error = org.ovirt.vdsm.jsonrpc.client.ResponseBuilder.OBJECT_MAPPER.valueToTree ( error ) ; return this ; }