auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
protected void updateTimeZone ( ) { updateTimeZone ( null ) ; }

Target:
protected void updateTimeZone ( final java.lang.String selectedTimeZone ) { if ( org.ovirt.engine.core.compat.StringHelper.isNullOrEmpty ( selectedTimeZone ) ) { updateDefaultTimeZone ( ) ; } else { doUpdateTimeZone ( selectedTimeZone ) ; } }
Source:
private org.ovirt.engine.core.compat.Guid getQuotaId ( ) { if ( ( ( getDisk ( ) ) != null ) && ( ( org.ovirt.engine.core.common.businessentities.storage.DiskStorageType.IMAGE ) == ( getDisk ( ) . getDiskStorageType ( ) ) ) ) { return getDiskImage ( ) . getQuotaId ( ) ; } return null ; }

Target:
private org.ovirt.engine.core.compat.Guid getQuotaId ( ) { if ( ( ( getDisk ( ) ) != null ) && ( getDisk ( ) . getDiskStorageType ( ) . isInternal ( ) ) ) { return getDiskImage ( ) . getQuotaId ( ) ; } return null ; }
Source:
public void setEntity ( org.ovirt.engine.core.common.businessentities.StorageDomain value ) { super . setEntity ( value ) ; }

Target:
public void setPermissionListModel ( org.ovirt.engine.ui.uicommonweb.models.configure.PermissionListModel permissionListModel ) { this . permissionListModel = permissionListModel ; }
Source:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.ConfirmationModel localModel = ( ( org.ovirt.engine.ui.uicommonweb.models.ConfirmationModel ) ( result.getState ( ) ) ) ; localModel.stopProgress ( ) ; cancel ( ) ; }

Target:
public org.ovirt.engine.core.common.action.VdcActionParametersBase createActionParameters ( org.ovirt.engine.core.common.businessentities.VM vm ) { return new org.ovirt.engine.core.common.action.StopVmParameters ( vm.getId ( ) , org.ovirt.engine.core.common.action.StopVmTypeEnum.NORMAL ) ; }
Source:
protected void checkMaxMemoryOverCommitValue ( ) { if ( ( getVdsGroup ( ) . getMaxVdsMemoryOverCommit ( ) ) <= 0 ) { getVdsGroup ( ) . setMaxVdsMemoryOverCommit ( org.ovirt.engine.core.common.config.Config.< java.lang.Integer > getValue ( ConfigValues.MaxVdsMemOverCommit ) ) ; } }

Target:
protected void checkMaxMemoryOverCommitValue ( ) { if ( ( getVdsGroup ( ) . getMaxVdsMemoryOverCommit ( ) ) <= 0 ) { getVdsGroup ( ) . setMaxVdsMemoryOverCommit ( 100 ) ; } }
Source:
public java.util.ArrayList < org.ovirt.engine.core.common.action.VdcReturnValueBase > runMultipleActions ( org.ovirt.engine.core.common.action.VdcActionType actionType , java.util.ArrayList < org.ovirt.engine.core.common.action.VdcActionParametersBase > parameters , boolean isRunOnlyIfAllCanDoPass ) { return runMultipleActions ( actionType , parameters , isRunOnlyIfAllCanDoPass , false ) ; }

Target:
public java.util.ArrayList < org.ovirt.engine.core.common.action.VdcReturnValueBase > runMultipleActions ( org.ovirt.engine.core.common.action.VdcActionType actionType , java.util.ArrayList < org.ovirt.engine.core.common.action.VdcActionParametersBase > parameters , boolean isRunOnlyIfAllValidationPass ) { return runMultipleActions ( actionType , parameters , isRunOnlyIfAllValidationPass , false ) ; }
Source:
public void updateGlusterHook ( org.ovirt.engine.core.common.businessentities.gluster.GlusterHookEntity hook , org.ovirt.engine.core.compat.Guid hostId ) ;

Target:
public void updateGlusterServerHookStatus ( org.ovirt.engine.core.compat.Guid hookId , org.ovirt.engine.core.compat.Guid serverId , org.ovirt.engine.core.common.businessentities.gluster.GlusterHookStatus status ) ;
Source:
public org.ovirt.engine.core.common.businessentities.network.NetworkBootProtocol getBootProtocol ( ) { return ( hasIpConfiguration ( ) ) && ( getIpConfiguration ( ) . hasPrimaryAddressSet ( ) ) ? getIpConfiguration ( ) . getPrimaryAddress ( ) . getBootProtocol ( ) : null ; }

Target:
public java.lang.String getIpv6Address ( ) { if ( primaryIpv6AddressNotSet ( ) ) { return null ; } return getIpConfiguration ( ) . getIpv6PrimaryAddress ( ) . getAddress ( ) ; }
Source:
public abstract java.util.concurrent.Future < org.ovirt.engine.core.common.action.VdcReturnValueBase > executeAsyncCommand ( org.ovirt.engine.core.common.action.VdcActionType actionType , org.ovirt.engine.core.common.action.VdcActionParametersBase parameters ) ;

Target:
public abstract java.util.concurrent.Future < org.ovirt.engine.core.common.action.VdcReturnValueBase > executeAsyncCommand ( org.ovirt.engine.core.common.action.VdcActionType actionType , org.ovirt.engine.core.common.action.VdcActionParametersBase parameters , org.ovirt.engine.core.bll.context.CommandContext cmdContext ) ;
Source:
private org.ovirt.engine.core.common.action.VdcActionType getEndActionType ( ) { org.ovirt.engine.core.common.action.VdcActionType commandType = getActionParameters ( ) . getCommandType ( ) ; if ( ! ( VdcActionType.Unknown.equals ( commandType ) ) ) { return commandType ; } return getaction_type ( ) ; }

Target:
private org.ovirt.engine.core.common.action.VdcActionType getEndActionType ( ) { org.ovirt.engine.core.common.action.VdcActionType commandType = getTaskParameters ( ) . getCommandType ( ) ; if ( ! ( VdcActionType.Unknown.equals ( commandType ) ) ) { return commandType ; } return getaction_type ( ) ; }
Source:
public org.ovirt.engine.core.common.AuditLogType getAuditLogTypeValue ( ) { addCanDoActionMessage ( EngineMessage.VDS_FENCE_OPERATION_FAILED ) ; addCanDoActionMessage ( EngineMessage.VAR__TYPE__HOST ) ; addCanDoActionMessage ( EngineMessage.VAR__ACTION__START ) ; return org.ovirt.engine.core.bll.pm.StartVdsCommand.getSucceeded ( ) ? org.ovirt.engine.core.common.AuditLogType.USER_VDS_START : org.ovirt.engine.core.common.AuditLogType.USER_FAILED_VDS_START ; }

Target:
public org.ovirt.engine.core.common.AuditLogType getAuditLogTypeValue ( ) { addValidationMessage ( EngineMessage.VDS_FENCE_OPERATION_FAILED ) ; addValidationMessage ( EngineMessage.VAR__TYPE__HOST ) ; addValidationMessage ( EngineMessage.VAR__ACTION__START ) ; return org.ovirt.engine.core.bll.pm.StartVdsCommand.getSucceeded ( ) ? org.ovirt.engine.core.common.AuditLogType.USER_VDS_START : org.ovirt.engine.core.common.AuditLogType.USER_FAILED_VDS_START ; }
Source:
protected org.ovirt.engine.ui.uicommonweb.UICommand resolveCommand ( ) { return data.getStopCommand ( ) ; }

Target:
protected org.ovirt.engine.ui.uicommonweb.UICommand resolveCommand ( org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalItemModel value ) { return value.getStopCommand ( ) ; }
Source:
protected org.ovirt.engine.core.compat.Guid getDiskId ( ) { return getCommand ( ) . getParameters ( ) . getDiskId ( ) ; }

Target:
protected org.ovirt.engine.core.compat.Guid getDiskId ( org.ovirt.engine.core.bll.storage.disk.cinder.ExtendCinderDiskCommand < org.ovirt.engine.core.common.action.UpdateVmDiskParameters > command ) { return command.getParameters ( ) . getDiskId ( ) ; }
Source:
public void canDoWithPinnedHostOnVm ( ) { final org.ovirt.engine.core.bll.numa.vm.AddVmNumaNodesCommand command = mockedCommand ( ) ; org.hamcrest.MatcherAssert.assertThat ( command.canDoAction ( ) , org.hamcrest.core.Is.is ( true ) ) ; }

Target:
public void canDoWithPinnedHostOnVm ( ) { final org.ovirt.engine.core.bll.numa.vm.AddVmNumaNodesCommand command = mockedCommandWithVmFromDb ( ) ; org.hamcrest.MatcherAssert.assertThat ( command.canDoAction ( ) , org.hamcrest.core.Is.is ( true ) ) ; }
Source:
public void testGetVmIdsForVersionUpdate ( ) { java.util.List < org.ovirt.engine.core.compat.Guid > vmIdsToUpdate = dao.getVmIdsForVersionUpdate ( FixturesTool.VM_TEMPLATE_RHEL5 ) ; org.junit.Assert.assertTrue ( vmIdsToUpdate.contains ( FixturesTool.VM_RHEL5_POOL_52 ) ) ; }

Target:
public void testGetVmIdsForVersionUpdate ( ) { java.util.List < org.ovirt.engine.core.compat.Guid > vmIdsToUpdate = dao.getVmIdsForVersionUpdate ( FixturesTool.VM_TEMPLATE_RHEL5 ) ; org.junit.jupiter.api.Assertions.assertTrue ( vmIdsToUpdate.contains ( FixturesTool.VM_RHEL5_POOL_52 ) ) ; }
Source:
protected boolean prepareFailureMessageForDomainsAndDisks ( java.lang.String domainNames , java.lang.String diskNames ) { org.ovirt.engine.core.bll.storage.RemoveStorageServerConnectionCommand.addCanDoActionMessage ( java.lang.String.format ( "$domainNames %1$s" , domainNames ) ) ; org.ovirt.engine.core.bll.storage.RemoveStorageServerConnectionCommand.addCanDoActionMessage ( java.lang.String.format ( "$diskNames %1$s" , diskNames ) ) ; return failCanDoAction ( VdcBllMessages.ACTION_TYPE_FAILED_STORAGE_CONNECTION_BELONGS_TO_SEVERAL_STORAGE_DOMAINS_AND_DISKS ) ; }

Target:
protected boolean prepareFailureMessageForDomainsAndDisks ( java.lang.String domainNames , java.lang.String diskNames ) { org.ovirt.engine.core.bll.storage.RemoveStorageServerConnectionCommand.addCanDoActionMessageVariable ( "domainNames" , domainNames ) ; org.ovirt.engine.core.bll.storage.RemoveStorageServerConnectionCommand.addCanDoActionMessageVariable ( "diskNames" , diskNames ) ; return failCanDoAction ( VdcBllMessages.ACTION_TYPE_FAILED_STORAGE_CONNECTION_BELONGS_TO_SEVERAL_STORAGE_DOMAINS_AND_DISKS ) ; }
Source:
public javax.ws.rs.core.Response remove ( @ javax.ws.rs.PathParam ( value = "id" ) java.lang.String id ) ;

Target:
org.ovirt.engine.api.resource.AffinityGroupVmResource getAffinityGroupVmSubResource ( @ javax.ws.rs.PathParam ( value = "id" ) java.lang.String id ) ;
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { updateDisksQuota ( sender ) ; }

Target:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { updateDisks ( sender ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source ; }

Target:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery asyncQuery ) { return source ; }
Source:
private boolean findDefaultManagementNetwork ( ) { managementNetwork = defaultManagementNetworkFinder.findDefaultManagementNetwork ( org.ovirt.engine.core.bll.AddClusterCommand.getCluster ( ) . getStoragePoolId ( ) ) ; if ( ( managementNetwork ) == null ) { addValidationMessage ( EngineMessage.ACTION_TYPE_FAILED_DEFAULT_MANAGEMENT_NETWORK_NOT_FOUND ) ; return false ; } return true ; }

Target:
private boolean findDefaultManagementNetwork ( ) { managementNetwork = defaultManagementNetworkFinder.findDefaultManagementNetwork ( org.ovirt.engine.core.bll.AddClusterCommand.getCluster ( ) . getStoragePoolId ( ) ) ; if ( ( getManagementNetwork ( ) ) == null ) { addValidationMessage ( EngineMessage.ACTION_TYPE_FAILED_DEFAULT_MANAGEMENT_NETWORK_NOT_FOUND ) ; return false ; } return true ; }
Source:
public org.ovirt.engine.core.common.businessentities.storage.DiskStorageType getDiskStorageType ( ) { return imagesButton.getValue ( ) ? org.ovirt.engine.core.common.businessentities.storage.DiskStorageType.IMAGE : lunsButton.getValue ( ) ? org.ovirt.engine.core.common.businessentities.storage.DiskStorageType.LUN : null ; }

Target:
public org.ovirt.engine.core.common.businessentities.storage.DiskStorageType getDiskStorageType ( ) { return imagesButton.getValue ( ) ? org.ovirt.engine.core.common.businessentities.storage.DiskStorageType.IMAGE : lunsButton.getValue ( ) ? org.ovirt.engine.core.common.businessentities.storage.DiskStorageType.LUN : cinderButton.getValue ( ) ? org.ovirt.engine.core.common.businessentities.storage.DiskStorageType.CINDER : null ; }
Source:
public void setusage_network_percent ( java.lang.Integer value ) { this . mVmStatistics.setusage_network_percent ( value ) ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "usage_network_percent" ) ) ; }

Target:
public void setVmtName ( java.lang.String value ) { this . vmtName = value ; }
Source:
public void testGetForUserWithPermission ( ) { org.ovirt.engine.core.common.businessentities.network.VnicProfileView result = dao.get ( FixturesTool.VM_NETWORK_INTERFACE_PROFILE , org.ovirt.engine.core.dao.network.PRIVILEGED_USER_ID , true ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertEquals ( FixturesTool.VM_NETWORK_INTERFACE_PROFILE , result.getId ( ) ) ; }

Target:
public void testGetForUserWithPermission ( ) { org.ovirt.engine.core.common.businessentities.network.VnicProfileView result = dao.get ( FixturesTool.VM_NETWORK_INTERFACE_PROFILE , org.ovirt.engine.core.dao.network.PRIVILEGED_USER_ID , true ) ; org.junit.jupiter.api.Assertions.assertNotNull ( result ) ; org.junit.jupiter.api.Assertions.assertEquals ( FixturesTool.VM_NETWORK_INTERFACE_PROFILE , result.getId ( ) ) ; }
Source:
public void testPermissionSubjectOnProvidedImage ( ) { initializeSuppliedImage ( ) ; org.junit.Assert.assertEquals ( transferImageCommand.getPermissionCheckSubjects ( ) . get ( 0 ) , new org.ovirt.engine.core.bll.utils.PermissionSubject ( transferImageCommand.getParameters ( ) . getImageGroupID ( ) , org.ovirt.engine.core.common.VdcObjectType.Disk , org.ovirt.engine.core.common.businessentities.ActionGroup.EDIT_DISK_PROPERTIES ) ) ; }

Target:
public void testPermissionSubjectOnProvidedImage ( ) { initializeSuppliedImage ( ) ; org.junit.jupiter.api.Assertions.assertEquals ( transferImageCommand.getPermissionCheckSubjects ( ) . get ( 0 ) , new org.ovirt.engine.core.bll.utils.PermissionSubject ( transferImageCommand.getParameters ( ) . getImageGroupID ( ) , org.ovirt.engine.core.common.VdcObjectType.Disk , org.ovirt.engine.core.common.businessentities.ActionGroup.EDIT_DISK_PROPERTIES ) ) ; }
Source:
protected void init ( ) { org.ovirt.engine.core.bll.AddVdsGroupCommand.updateMigrateOnError ( ) ; }

Target:
protected void init ( ) { org.ovirt.engine.core.bll.AddClusterCommand.updateMigrateOnError ( ) ; }
Source:
private static org.ovirt.engine.core.dao.profiles.DiskProfileDao getDiskProfileDao ( ) { return org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getDiskProfileDao ( ) ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult isDiskProfileParentEntityValid ( org.ovirt.engine.core.common.businessentities.profiles.DiskProfile diskProfile , org.ovirt.engine.core.compat.Guid storageDomainId ) { return new org.ovirt.engine.core.bll.profiles.DiskProfileValidator ( diskProfile ) . isParentEntityValid ( storageDomainId ) ; }
Source:
public boolean getAllowConsoleReconnect ( ) { return this . vmStatic.getAllowConsoleReconnect ( ) ; }

Target:
public boolean getAllowConsoleReconnect ( ) { return this . vmStatic.isAllowConsoleReconnect ( ) ; }
Source:
protected static org.ovirt.engine.core.utils.vmproperties.VmPropertiesUtils getVmPropertiesUtils ( ) { return org.ovirt.engine.core.utils.vmproperties.VmPropertiesUtils.getInstance ( ) ; }

Target:
private static org.ovirt.engine.core.dao.DiskDao getDiskDao ( ) { return org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getDiskDao ( ) ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( "%s, force=%s, secondsToWait=%s, gracefully=%s" , super . toString ( ) , getForce ( ) , getSecondsToWait ( ) , getGracefully ( ) ) ; }

Target:
public java.lang.String toString ( ) { return java.lang.String.format ( "%s, force=%s, secondsToWait=%s, gracefully=%s, reason=%s" , super . toString ( ) , getForce ( ) , getSecondsToWait ( ) , getGracefully ( ) , getReason ( ) ) ; }
Source:
private static org.ovirt.engine.core.common.businessentities.VDSGroup createDefaultVdsGroupWithDifferentCpuName ( ) { org.ovirt.engine.core.common.businessentities.VDSGroup group = org.ovirt.engine.core.bll.UpdateVdsGroupCommandTest.createDefaultVdsGroup ( ) ; group.setcpu_name ( "Another CPU name" ) ; return group ; }

Target:
private static org.ovirt.engine.core.common.businessentities.VDSGroup createVdsGroupWithDifferentPool ( ) { org.ovirt.engine.core.common.businessentities.VDSGroup group = org.ovirt.engine.core.bll.UpdateVdsGroupCommandTest.createNewVdsGroup ( ) ; group.setStoragePoolId ( org.ovirt.engine.core.bll.UpdateVdsGroupCommandTest.DC_ID2 ) ; return group ; }
Source:
protected void LockImage ( ) { org.ovirt.engine.core.bll.BaseImagesCommand.SetImageStatus ( getDiskImage ( ) , ImageStatus.LOCKED ) ; }

Target:
protected void MarkImageAsIllegal ( ) { org.ovirt.engine.core.bll.BaseImagesCommand.SetImageStatus ( ( org.ovirt.engine.core.bll.BaseImagesCommand.getParameters ( ) . isImportEntity ( ) ? getDestinationDiskImage ( ) : getDiskImage ( ) ) , ImageStatus.ILLEGAL ) ; }
Source:
private java.lang.String storageName ( ) { return java.lang.String.format ( "$%1$s %2$s" , "storageName" , storageDomain.getstorage_name ( ) ) ; }

Target:
private java.lang.String storageName ( ) { return java.lang.String.format ( "$%1$s %2$s" , "storageName" , storageDomain.getStorageName ( ) ) ; }
Source:
public java.lang.Void runInTransaction ( ) { org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVmDeviceDAO ( ) . removeAll ( removedDeviceIds ) ; return null ; }

Target:
public java.lang.Void runInTransaction ( ) { getDbFacade ( ) . getVmDeviceDAO ( ) . removeAll ( removedDeviceIds ) ; return null ; }
Source:
public java.lang.Boolean getLiveSnapshotSupport ( ) { return vdsDynamic.getLiveSnapshotSupport ( ) ; }

Target:
public void setCertificateSubject ( java.lang.String certificateSubject ) { vdsStatic.setCertificateSubject ( certificateSubject ) ; }
Source:
public java.util.List < org.ovirt.engine.ui.common.widget.HasValidation > getInvalidWidgets ( ) { if ( ( getContentWidget ( ) ) instanceof org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget ) { return ( ( org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget ) ( getContentWidget ( ) ) ) . getInvalidWidgets ( ) ; } return java.util.Collections.EMPTY_LIST ; }

Target:
public java.util.List < org.ovirt.engine.ui.common.widget.HasValidation > getInvalidWidgets ( ) { if ( ( getContentWidget ( ) ) instanceof org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget ) { return ( ( org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget ) ( getContentWidget ( ) ) ) . getInvalidWidgets ( ) ; } return java.util.Collections.emptyList ( ) ; }
Source:
protected boolean checkDiskUsedAsOvfStore ( org.ovirt.engine.core.common.businessentities.Disk disk ) { return checkDiskUsedAsOvfStore ( getDiskValidator ( disk ) ) ; }

Target:
protected boolean checkDiskUsedAsOvfStore ( org.ovirt.engine.core.common.businessentities.storage.Disk disk ) { return checkDiskUsedAsOvfStore ( getDiskValidator ( disk ) ) ; }
Source:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc glusterVolumeSnapshotCreate ( java.lang.String volumeName , java.lang.String snapshotName , java.lang.String description , boolean force ) ;

Target:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc glusterSnapshotDelete ( java.lang.String snapshotName ) ;
Source:
public void loadAttachableDisks ( ) { doLoadAttachableDisks ( new org.ovirt.engine.ui.uicommonweb.models.vms.AttachDiskModel.GetDisksCallback ( org.ovirt.engine.core.common.businessentities.Disk.DiskStorageType.IMAGE ) , new org.ovirt.engine.ui.uicommonweb.models.vms.AttachDiskModel.GetDisksCallback ( org.ovirt.engine.core.common.businessentities.Disk.DiskStorageType.LUN ) ) ; }

Target:
public void loadAttachableDisks ( ) { doLoadAttachableDisks ( new org.ovirt.engine.ui.uicommonweb.models.vms.AttachDiskModel.GetDisksCallback ( org.ovirt.engine.core.common.businessentities.storage.DiskStorageType.IMAGE ) , new org.ovirt.engine.ui.uicommonweb.models.vms.AttachDiskModel.GetDisksCallback ( org.ovirt.engine.core.common.businessentities.storage.DiskStorageType.LUN ) , new org.ovirt.engine.ui.uicommonweb.models.vms.AttachDiskModel.GetDisksCallback ( org.ovirt.engine.core.common.businessentities.storage.DiskStorageType.CINDER ) ) ; }
Source:
protected boolean canDoAction ( ) { if ( ( org.ovirt.engine.core.bll.ProcessDownVmCommand.getVm ( ) ) == null ) { return failCanDoAction ( VdcBllMessages.ACTION_TYPE_FAILED_VM_NOT_FOUND ) ; } return true ; }

Target:
protected boolean canDoAction ( ) { if ( ( org.ovirt.engine.core.bll.ProcessDownVmCommand.getVm ( ) ) == null ) { return failCanDoAction ( EngineMessage.ACTION_TYPE_FAILED_VM_NOT_FOUND ) ; } return true ; }
Source:
public void execute ( org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalItemModel model ) { consolePopup.init ( getModel ( ) ) ; com.gwtplatform.mvp.client.proxy.RevealRootPopupContentEvent.fire ( eventBus , consolePopup ) ; }

Target:
public void execute ( org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalItemModel model ) { org.ovirt.engine.ui.userportal.section.main.presenter.popup.console.ConsolePopupPresenterWidget consolePopupPresenterWidget = consolePopup.get ( ) ; consolePopupPresenterWidget.init ( getModel ( ) ) ; com.gwtplatform.mvp.client.proxy.RevealRootPopupContentEvent.fire ( eventBus , consolePopupPresenterWidget ) ; }
Source:
public org.ovirt.engine.api.model.DataCenters list ( ) { return mapCollection ( getBackendCollection ( SearchType.StoragePool ) ) ; }

Target:
public org.ovirt.engine.api.model.DataCenters list ( ) { if ( isFiltered ( ) ) return mapCollection ( getBackendCollection ( VdcQueryType.GetAllStoragePools , new org.ovirt.engine.core.common.queries.VdcQueryParametersBase ( ) ) ) ; else return mapCollection ( getBackendCollection ( SearchType.StoragePool ) ) ; }
Source:
public void testSave ( ) { dao.save ( newUser ) ; org.ovirt.engine.core.common.businessentities.aaa.DbUser result = dao.getByUsernameAndDomain ( newUser.getLoginName ( ) , newUser.getDomain ( ) ) ; org.junit.Assert.assertEquals ( newUser , result ) ; }

Target:
public void testSave ( ) { dao.save ( newUser ) ; org.ovirt.engine.core.common.businessentities.aaa.DbUser result = dao.getByUsernameAndDomain ( newUser.getLoginName ( ) , newUser.getDomain ( ) ) ; org.junit.jupiter.api.Assertions.assertEquals ( newUser , result ) ; }
Source:
private static void addConsoleDevice ( org.ovirt.engine.core.compat.Guid vmId ) { org.ovirt.engine.core.bll.utils.VmDeviceUtils.addManagedDevice ( new org.ovirt.engine.core.common.businessentities.VmDeviceId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) , vmId ) , VmDeviceGeneralType.CONSOLE , VmDeviceType.CONSOLE , new java.util.HashMap < java.lang.String , java.lang.Object > ( ) , true , false , null , false ) ; }

Target:
public static org.ovirt.engine.core.common.businessentities.VmDevice addConsoleDevice ( org.ovirt.engine.core.compat.Guid vmId ) { return org.ovirt.engine.core.bll.utils.VmDeviceUtils.addManagedDevice ( new org.ovirt.engine.core.common.businessentities.VmDeviceId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) , vmId ) , VmDeviceGeneralType.CONSOLE , VmDeviceType.CONSOLE , org.ovirt.engine.core.bll.utils.VmDeviceUtils.EMPTY_SPEC_PARAMS , true , false ) ; }
Source:
public org.ovirt.engine.api.model.Cluster update ( org.ovirt.engine.api.model.Cluster incoming ) { validateEnums ( org.ovirt.engine.api.model.Cluster.class , incoming ) ; return performUpdate ( incoming , new org.ovirt.engine.api.restapi.resource.QueryIdResolver ( org.ovirt.engine.core.common.queries.VdcQueryType.GetVdsGroupById , org.ovirt.engine.core.common.queries.IdQueryParameters.class ) , VdcActionType.UpdateVdsGroup , new UpdateParametersProvider ( ) ) ; }

Target:
public org.ovirt.engine.core.common.businessentities.Cluster update ( org.ovirt.engine.core.common.businessentities.Cluster incoming ) { validateEnums ( org.ovirt.engine.core.common.businessentities.Cluster.class , incoming ) ; return performUpdate ( incoming , new org.ovirt.engine.api.restapi.resource.QueryIdResolver ( org.ovirt.engine.core.common.queries.VdcQueryType.GetClusterById , org.ovirt.engine.core.common.queries.IdQueryParameters.class ) , VdcActionType.UpdateCluster , new UpdateParametersProvider ( ) ) ; }
Source:
protected void executeVmCommand ( ) { if ( GetRunningOnVds ( ) ) { Perform ( ) ; return ; } setActionReturnValue ( ( ( org.ovirt.engine.core.bll.VmOperationCommandBase.getVm ( ) ) != null ? org.ovirt.engine.core.bll.VmOperationCommandBase.getVm ( ) . getStatus ( ) : org.ovirt.engine.core.common.businessentities.VMStatus.Down ) ) ; }

Target:
protected void executeVmCommand ( ) { if ( GetRunningOnVds ( ) ) { perform ( ) ; return ; } setActionReturnValue ( ( ( org.ovirt.engine.core.bll.VmOperationCommandBase.getVm ( ) ) != null ? org.ovirt.engine.core.bll.VmOperationCommandBase.getVm ( ) . getStatus ( ) : org.ovirt.engine.core.common.businessentities.VMStatus.Down ) ) ; }
Source:
public void testValidateBondModeForVmNetwork ( ) { validateBondMode ( true ) ; }

Target:
public void testValidateBondModeForVmNetwork ( ) { validateBondModes ( true ) ; }
Source:
protected java.lang.Long getRawValue ( org.ovirt.engine.ui.uicommonweb.models.EntityModel object ) { org.ovirt.engine.core.common.businessentities.DiskImage diskImage = ( ( org.ovirt.engine.core.common.businessentities.DiskImage ) ( ( ( org.ovirt.engine.ui.uicommonweb.models.vms.DiskModel ) ( object.getEntity ( ) ) ) . getDisk ( ) ) ) ; return diskImage.getsize ( ) ; }

Target:
protected java.lang.Long getRawValue ( org.ovirt.engine.ui.uicommonweb.models.EntityModel object ) { org.ovirt.engine.core.common.businessentities.DiskImage diskImage = ( ( org.ovirt.engine.core.common.businessentities.DiskImage ) ( ( ( org.ovirt.engine.ui.uicommonweb.models.vms.DiskModel ) ( object.getEntity ( ) ) ) . getDisk ( ) ) ) ; return diskImage.getSize ( ) ; }
Source:
public java.util.List < org.ovirt.engine.core.common.businessentities.VDS > getAll ( ) { return getCallsHandler ( ) . executeReadList ( "GetAllFromVds" , org.ovirt.engine.core.dao.VdsDAODbFacadeImpl.VdsRowMapper.instance , getCustomMapSqlParameterSource ( ) ) ; }

Target:
public java.util.List < org.ovirt.engine.core.common.businessentities.VDS > getAll ( org.ovirt.engine.core.compat.Guid userID , boolean isFiltered ) { return getCallsHandler ( ) . executeReadList ( "GetAllFromVds" , org.ovirt.engine.core.dao.VdsDAODbFacadeImpl.VdsRowMapper.instance , getCustomMapSqlParameterSource ( ) . addValue ( "user_id" , userID ) . addValue ( "is_filtered" , isFiltered ) ) ; }
Source:
protected void preSearchCalled ( org.ovirt.engine.core.common.businessentities.VM vm ) { setSearchString ( ( "events: vm.name=" + ( vm.getName ( ) ) ) ) ; }

Target:
protected void preSearchCalled ( org.ovirt.engine.core.common.businessentities.VM vm ) { setSearchString ( ( ( "events: vm.name=" + ( vm.getName ( ) ) ) + " and vm.name != \"\"" ) ) ; }
Source:
private void add ( ) { if ( ( getWindow ( ) ) != null ) { return ; } setWindow ( new org.ovirt.engine.ui.uicommonweb.models.providers.ProviderModel ( this ) ) ; }

Target:
private void add ( ) { if ( ( getWindow ( ) ) != null ) { return ; } setWindow ( new org.ovirt.engine.ui.uicommonweb.models.providers.AddProviderModel ( this ) ) ; }
Source:
public void setElapsedTime ( java.lang.Double value ) { this . elapsed_timeField = value ; setRoundedElapsedTime ( value ) ; }

Target:
public void setCpuUser ( java.lang.Double cpuUser ) { this . cpuUser = cpuUser ; }
Source:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.userportal.gin.ClientGinjector ginjector ) { return new com.gwtplatform.mvp.client.TabDataBasic ( ginjector.getApplicationConstants ( ) . extendedResourceSideTabLabel ( ) , 2 ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.userportal.ApplicationConstants applicationConstants ) { return new com.gwtplatform.mvp.client.TabDataBasic ( applicationConstants.extendedResourceSideTabLabel ( ) , 2 ) ; }
Source:
protected void endWithFailure ( ) { removeNetwork ( ) ; removeImages ( ) ; org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVmTemplateDao ( ) . remove ( getVmTemplateId ( ) ) ; setSucceeded ( true ) ; }

Target:
protected void endWithFailure ( ) { removeNetwork ( ) ; endActionOnAllImageGroups ( ) ; org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVmTemplateDao ( ) . remove ( getVmTemplateId ( ) ) ; setSucceeded ( true ) ; }
Source:
public org.ovirt.engine.core.bll.ValidationResult notExternalNetwork ( ) { return org.ovirt.engine.core.bll.ValidationResult.failWith ( VdcBllMessages.EXTERNAL_NETWORK_CANNOT_BE_PROVISIONED ) . when ( getNetwork ( ) . isExternal ( ) ) ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult notExternalNetwork ( ) { return org.ovirt.engine.core.bll.ValidationResult.failWith ( EngineMessage.EXTERNAL_NETWORK_CANNOT_BE_PROVISIONED ) . when ( getNetwork ( ) . isExternal ( ) ) ; }
Source:
protected abstract org.ovirt.engine.core.dao.qos.QosDao < T > getQosDao ( ) ;

Target:
protected org.ovirt.engine.core.dao.qos.QosDao < T > getQosDao ( ) { return qosDao ; }
Source:
private < T > void validateReplacements ( java.util.Collection < java.lang.String > replacements , java.util.List < T > items ) { validateReplacementsContainsExpectedProperties ( replacements , items ) ; org.junit.Assert.assertTrue ( validateReplacementContains ( replacements , org.ovirt.engine.core.utils.ReplacementUtilsTest.PROPERTY_VALUE ) ) ; }

Target:
private < T > void validateReplacements ( java.util.Collection < java.lang.String > replacements , java.util.List < T > items ) { validateReplacementsContainsExpectedProperties ( replacements , items ) ; org.junit.jupiter.api.Assertions.assertTrue ( validateReplacementContains ( replacements , org.ovirt.engine.core.utils.ReplacementUtilsTest.PROPERTY_VALUE ) ) ; }
Source:
public void setStartTime ( java.util.Date startTime ) { this . startTime = startTime ; }

Target:
public void setStartTime ( java.util.Date startTime ) { this . startTime = startTime ; if ( ( this . totalMigrationTime ) == null ) { this . totalMigrationTime = this . startTime ; } }
Source:
public org.ovirt.engine.api.resource.DeviceResource < org.ovirt.engine.api.model.CdRom > getDeviceSubResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendCdRomResource ( modelType , entityType , asGuidOr404 ( id ) , this , updateType , getUpdateParametersProvider ( ) , getRequiredUpdateFields ( ) ) ) ; }

Target:
public org.ovirt.engine.api.resource.DeviceResource < org.ovirt.engine.api.model.CdRom > getDeviceSubResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendCdRomResource ( parentId , asGuidOr404 ( id ) , this , updateType , getUpdateParametersProvider ( ) , getRequiredUpdateFields ( ) ) ) ; }
Source:
private void fillRemovedBonds ( org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct bonds ) { for ( org.ovirt.engine.core.common.businessentities.VdsNetworkInterface bond : org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand.getParameters ( ) . getRemovedBonds ( ) ) { bonds.add ( bond.getName ( ) , org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand.REMOVE_OBJ ) ; } }

Target:
private static void putIfNotEmpty ( java.util.Map < java.lang.String , java.lang.String > map , java.lang.String key , java.lang.String value ) { if ( ! ( org.apache.commons.lang.StringUtils.isEmpty ( value ) ) ) { map.put ( key , value ) ; } }
Source:
public void setValue ( java.lang.String value ) { this . value = value ; }

Target:
public void setActualValue ( java.lang.String actualValue ) { this . actualValue = actualValue ; }
Source:
public boolean eval ( org.ovirt.engine.core.common.businessentities.HostDevice device ) { return nic.getName ( ) . equals ( device.getNetworkInterfaceName ( ) ) ; }

Target:
public boolean eval ( org.ovirt.engine.core.common.businessentities.HostDevice device ) { return nicName.equals ( device.getNetworkInterfaceName ( ) ) ; }
Source:
public java.lang.String getName ( ) { return org.ovirt.engine.core.utils.ReplacementUtilsTest.PROPERTY_VALUE ; }

Target:
public void replaceWithNameableCollection ( ) { org.ovirt.engine.core.common.businessentities.Nameable item = ( ) -> org.ovirt.engine.core.utils.ReplacementUtilsTest.PROPERTY_VALUE ; java.util.List < org.ovirt.engine.core.common.businessentities.Nameable > items = java.util.Collections.singletonList ( item ) ; validateReplacements ( org.ovirt.engine.core.utils.ReplacementUtils.replaceWithNameable ( org.ovirt.engine.core.utils.ReplacementUtilsTest.PROPERTY_NAME , items ) , items ) ; }
Source:
public boolean canMoveToMaintenance ( org.ovirt.engine.core.common.businessentities.VDS vds ) { return ( vds.getVmCount ( ) ) == 0 ; }

Target:
public boolean canMoveToMaintenance ( org.ovirt.engine.core.common.businessentities.VDS vds ) { return ( ( vds.getVmCount ( ) ) == 0 ) && ( ! ( isAnyVmRunOnVdsInDb ( vds.getId ( ) ) ) ) ; }
Source:
public void testRemoveWithCustomGlobalHeader ( ) { clusterService.remove ( ) . send ( ) ; org.junit.Assert.assertEquals ( getLastRequestHeaders ( ) . get ( "my" ) . getFirst ( ) , "value" ) ; }

Target:
public void testGetWithCustomGlobalHeaderOverridden ( ) { clusterService.get ( ) . header ( "my" , "local" ) . send ( ) ; org.junit.Assert.assertEquals ( "local" , getLastRequestHeaders ( ) . get ( "my" ) . getFirst ( ) ) ; }
Source:
protected org.ovirt.engine.api.model.HostNIC doPopulate ( org.ovirt.engine.api.model.HostNIC model , org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface entity ) { return parent.doPopulate ( model , entity ) ; }

Target:
protected org.ovirt.engine.api.model.HostNic doPopulate ( org.ovirt.engine.api.model.HostNic model , org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface entity ) { return parent.doPopulate ( model , entity ) ; }
Source:
public void isRoleNetworkNoRoles ( ) { org.ovirt.engine.core.common.businessentities.network.NetworkCluster networkCluster = createNetworkCluster ( false , false , false ) ; org.junit.Assert.assertFalse ( org.ovirt.engine.core.utils.NetworkUtils.isRoleNetwork ( networkCluster ) ) ; }

Target:
public void isRoleNetworkNoRoles ( ) { org.ovirt.engine.core.common.businessentities.network.NetworkCluster networkCluster = createNetworkCluster ( false , false , false ) ; org.junit.jupiter.api.Assertions.assertFalse ( org.ovirt.engine.core.utils.NetworkUtils.isRoleNetwork ( networkCluster ) ) ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( "%s, storageType = %s, connectionList = [%s]" , super . toString ( ) , getStorageType ( ) . name ( ) , getPrintableConnectionsList ( ) ) ; }

Target:
protected org.ovirt.engine.core.common.utils.ToStringBuilder appendAttributes ( org.ovirt.engine.core.common.utils.ToStringBuilder tsb ) { return super . appendAttributes ( tsb ) . append ( "storageType" , getStorageType ( ) ) . append ( "connectionList" , getConnectionList ( ) ) ; }
Source:
protected org.ovirt.engine.core.dao.DiskImageDAO getDiskImageDAO ( ) { return org.ovirt.engine.core.bll.VmCommand.getDbFacade ( ) . getDiskImageDAO ( ) ; }

Target:
protected org.ovirt.engine.core.dao.DiskImageDAO getDiskImageDao ( ) { return org.ovirt.engine.core.bll.VmCommand.getDbFacade ( ) . getDiskImageDao ( ) ; }
Source:
public javax.ws.rs.core.Response add ( D device ) { org.ovirt.engine.api.restapi.resource.AbstractBackendDevicesResource.validateParameters ( device , getRequiredAddFields ( ) ) ; return performCreation ( addAction , getAddParameters ( org.ovirt.engine.api.restapi.resource.AbstractBackendDevicesResource.map ( device ) , device ) , getEntityIdResolver ( device.getName ( ) ) ) ; }

Target:
public javax.ws.rs.core.Response add ( D device ) { org.ovirt.engine.api.restapi.resource.AbstractBackendDevicesResource.validateParameters ( device , getRequiredAddFields ( ) ) ; return performCreate ( addAction , getAddParameters ( org.ovirt.engine.api.restapi.resource.AbstractBackendDevicesResource.map ( device ) , device ) , getEntityIdResolver ( device.getName ( ) ) ) ; }
Source:
public void setUploadSize ( long uploadSize ) { this . uploadSize = uploadSize ; }

Target:
public void setTransferSize ( long transferSize ) { this . transferSize = transferSize ; }
Source:
protected void refreshModel ( ) { if ( ( getEntity ( ) ) == null ) { return ; } super . SyncSearch ( VdcQueryType.GetAllAuditLogsByVMTemplateName , new org.ovirt.engine.core.common.queries.GetAllAuditLogsByVMTemplateNameParameters ( getEntity ( ) . getName ( ) ) ) ; }

Target:
protected void refreshModel ( ) { if ( ( getEntity ( ) ) == null ) { return ; } super . syncSearch ( VdcQueryType.GetAllAuditLogsByVMTemplateName , new org.ovirt.engine.core.common.queries.GetAllAuditLogsByVMTemplateNameParameters ( getEntity ( ) . getName ( ) ) ) ; }
Source:
public void testExtractIpv6Prefix ( ) { org.junit.Assert.assertThat ( org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder.extractIpv6Prefix ( "::/128" ) , org.hamcrest.Matchers.is ( 128 ) ) ; }

Target:
public void testExtractProperIpv6AddressWithTooLongPrefix ( ) { org.junit.Assert.assertThat ( vdsBrokerObjectsBuilder.extractIpv6Address ( "::/1234" ) , org.hamcrest.Matchers.is ( "::/1234" ) ) ; }
Source:
public void networkNameTakenCaseSensitivelyByDifferentNetwork ( ) throws java.lang.Exception { networkNameAvailableTest ( ValidationResult.VALID , getSingletonNamedNetworkList ( DEFAULT_NETWORK_NAME.toUpperCase ( ) , OTHER_GUID ) ) ; }

Target:
public void networkNameTakenCaseSensitivelyByDifferentNetwork ( ) throws java.lang.Exception { networkNameAvailableTest ( org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) , getSingletonNamedNetworkList ( DEFAULT_NETWORK_NAME.toUpperCase ( ) , OTHER_GUID ) ) ; }
Source:
public void setKsmCpuPercent ( java.lang.Integer value ) { this . mVdsStatistics.setKsmCpuPercent ( value ) ; }

Target:
public void setKsmCpuPercent ( java.lang.Integer value ) { vdsStatistics.setKsmCpuPercent ( value ) ; }
Source:
protected org.ovirt.engine.core.bll.storage.ovfstore.OvfHelper getOvfHelper ( ) { return new org.ovirt.engine.core.bll.storage.ovfstore.OvfHelper ( ) ; }

Target:
protected org.ovirt.engine.core.bll.storage.ovfstore.OvfHelper getOvfHelper ( ) { return ovfHelper ; }
Source:
public int compare ( org.ovirt.engine.core.common.businessentities.VDS o1 , org.ovirt.engine.core.common.businessentities.VDS o2 ) { return java.lang.Integer.valueOf ( calculateCpuUsage ( o1 ) ) . compareTo ( calculateCpuUsage ( o2 ) ) ; }

Target:
public int compare ( org.ovirt.engine.core.common.businessentities.VDS o1 , org.ovirt.engine.core.common.businessentities.VDS o2 ) { return java.lang.Integer.valueOf ( org.ovirt.engine.core.bll.scheduling.policyunits.EvenDistributionBalancePolicyUnit.VdsCpuUsageComparator.calculateCpuUsage ( o1 ) ) . compareTo ( org.ovirt.engine.core.bll.scheduling.policyunits.EvenDistributionBalancePolicyUnit.VdsCpuUsageComparator.calculateCpuUsage ( o2 ) ) ; }
Source:
private void runAndAssertCanDoActionSuccess ( ) { boolean canDoAction = command.canDoAction ( ) ; org.ovirt.engine.core.bll.storage.disk.AddDiskCommandTest.log.info ( "{}" , command.getReturnValue ( ) . getCanDoActionMessages ( ) ) ; org.junit.Assert.assertTrue ( canDoAction ) ; }

Target:
private void runAndAssertValidateSuccess ( ) { boolean validate = command.validate ( ) ; org.ovirt.engine.core.bll.storage.disk.AddDiskCommandTest.log.info ( "{}" , command.getReturnValue ( ) . getValidationMessages ( ) ) ; org.junit.Assert.assertTrue ( validate ) ; }
Source:
public void testValidateNetworkExclusiveOnNicsVmAndNonVmAttachedToInterface ( ) throws java.lang.Exception { checkVmNetworkIsSoleAssignedInterface ( failsWithNetworkInterfacesNotExclusivelyUsedByNetwork ( ) , vmNetwork1 , nonVmNetwork1 ) ; }

Target:
public void testValidateNetworkExclusiveOnNicsVmAndVlanAttachedToInterface ( ) throws java.lang.Exception { checkVmNetworkIsSoleAssignedInterface ( true , java.util.Arrays.asList ( NetworkType.VM , NetworkType.VLAN ) , vmNetwork1 , vlanNetwork ) ; }
Source:
protected static boolean CanAttachNonPrestartedVmToUser ( org.ovirt.engine.core.compat.Guid vm_guid ) { return org.ovirt.engine.core.bll.VmPoolCommandBase.IsVmFree ( vm_guid , new java.util.ArrayList < java.lang.String > ( ) ) ; }

Target:
protected static boolean canAttachNonPrestartedVmToUser ( org.ovirt.engine.core.compat.Guid vm_guid ) { return org.ovirt.engine.core.bll.VmPoolCommandBase.isVmFree ( vm_guid , new java.util.ArrayList < java.lang.String > ( ) ) ; }
Source:
public void succededToRunVm ( org.ovirt.engine.core.compat.Guid vmId ) { mUnrespondedAttempts.set ( 0 ) ; org.ovirt.engine.core.vdsbroker.ResourceManager.getInstance ( ) . succededToRunVm ( vmId , getVdsId ( ) ) ; }

Target:
public void succeededToRunVm ( org.ovirt.engine.core.compat.Guid vmId ) { mUnrespondedAttempts.set ( 0 ) ; org.ovirt.engine.core.vdsbroker.ResourceManager.getInstance ( ) . succededToRunVm ( vmId , getVdsId ( ) ) ; }
Source:
protected boolean validateFreeSpace ( org.ovirt.engine.core.bll.validator.storage.StorageDomainValidator storageDomainValidator , java.util.List < org.ovirt.engine.core.common.businessentities.DiskImage > disksList ) { return validate ( storageDomainValidator.hasSpaceForNewDisks ( disksList ) ) ; }

Target:
protected boolean validateFreeSpace ( org.ovirt.engine.core.bll.validator.storage.StorageDomainValidator storageDomainValidator , java.util.List < org.ovirt.engine.core.common.businessentities.DiskImage > disksList ) { java.util.Collection < org.ovirt.engine.core.common.businessentities.DiskImage > disks = org.ovirt.engine.core.bll.ImagesHandler.getDisksDummiesForStorageAllocations ( disksList ) ; return validate ( storageDomainValidator.hasSpaceForNewDisks ( disks ) ) ; }
Source:
default void inputDetail ( ) { org.ovirt.api.metamodel.language.ApiLanguage.or ( org.ovirt.api.metamodel.language.ApiLanguage.mandatory ( key ( ) . id ( ) ) , org.ovirt.api.metamodel.language.ApiLanguage.mandatory ( key ( ) . name ( ) ) ) ; }

Target:
default void inputDetail ( ) { org.ovirt.api.metamodel.language.ApiLanguage.mandatory ( key ( ) . content ( ) ) ; }
Source:
public java.lang.String getMessage ( ) { return org.ovirt.engine.core.compat.StringHelper.EqOp ( _message.toLowerCase ( ) , "done" ) ? "" : _message ; }

Target:
public java.lang.String getMessage ( ) { return "done" . equalsIgnoreCase ( _message ) ? "" : _message ; }
Source:
public void validateNonExistingStepFails ( ) throws java.lang.Exception { setupMock ( ) ; parameters.setId ( org.ovirt.engine.core.bll.EndExternalStepCommandTest.nonExistingStepId ) ; parameters.setJobId ( org.ovirt.engine.core.bll.EndExternalStepCommandTest.jobId ) ; org.junit.Assert.assertTrue ( ( ! ( command.validate ( ) ) ) ) ; }

Target:
public void validateNonExternalStepFails ( ) throws java.lang.Exception { parameters.setJobId ( org.ovirt.engine.core.bll.EndExternalStepCommandTest.jobId ) ; parameters.setId ( org.ovirt.engine.core.bll.EndExternalStepCommandTest.nonExternalStepId ) ; org.junit.Assert.assertTrue ( ( ! ( command.validate ( ) ) ) ) ; }
Source:
public java.util.List < org.ovirt.engine.core.common.businessentities.VmJob > getAllForVm ( org.ovirt.engine.core.compat.Guid vm ) { return getCallsHandler ( ) . executeReadList ( "GetVmJobsByVmId" , org.ovirt.engine.core.dao.VmJobDaoImpl.VmJobRowMapper.instance , getCustomMapSqlParameterSource ( ) . addValue ( "vm_id" , vm ) ) ; }

Target:
public java.util.List < org.ovirt.engine.core.common.businessentities.VmJob > getAll ( ) { return getCallsHandler ( ) . executeReadList ( "GetAllVmJobs" , org.ovirt.engine.core.dao.VmJobDaoImpl.VmJobRowMapper.instance , getCustomMapSqlParameterSource ( ) ) ; }
Source:
public abstract org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient createClient ( org.ovirt.vdsm.jsonrpc.client.reactors.Reactor reactor , java.nio.channels.Selector selector , java.lang.String hostname , int port ) throws org.ovirt.vdsm.jsonrpc.client.ClientConnectionException ;

Target:
protected abstract org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient createConnectedClient ( org.ovirt.vdsm.jsonrpc.client.reactors.Reactor reactor , java.nio.channels.Selector selector , java.lang.String hostname , int port , java.nio.channels.SocketChannel channel ) throws org.ovirt.vdsm.jsonrpc.client.ClientConnectionException ;
Source:
private void UpdateActionAvailability ( ) { getMoveItemUpCommand ( ) . setIsExecutionAllowed ( ( ( getSelectedItem ( ) ) != null ) ) ; getMoveItemDownCommand ( ) . setIsExecutionAllowed ( ( ( getSelectedItem ( ) ) != null ) ) ; }

Target:
private void updateActionAvailability ( ) { getMoveItemUpCommand ( ) . setIsExecutionAllowed ( ( ( getSelectedItem ( ) ) != null ) ) ; getMoveItemDownCommand ( ) . setIsExecutionAllowed ( ( ( getSelectedItem ( ) ) != null ) ) ; }
Source:
public org.ovirt.engine.core.common.eventqueue.EventResult call ( ) { runSynchronizeOperation ( new org.ovirt.engine.core.bll.storage.AfterDeactivateSingleAsyncOperationFactory ( ) , _isLastMaster , getNewMasterId ( false ) ) ; return null ; }

Target:
public org.ovirt.engine.core.common.eventqueue.EventResult call ( ) { runSynchronizeOperation ( new org.ovirt.engine.core.bll.storage.AfterDeactivateSingleAsyncOperationFactory ( ) , _isLastMaster , newMasterId ) ; return null ; }
Source:
protected abstract java.lang.String composeMessage ( ) ;

Target:
protected final java.lang.String utfLettersWithoutAsciiLetters ( ) { return "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ﬀ-ﬆﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼＡ-Ｚａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ" ; }
Source:
public void setbookmark_value ( java.lang.String value ) { this . value = value ; }

Target:
public void setValue ( java.lang.String value ) { this . value = value ; }
Source:
public static java.util.List < org.ovirt.engine.core.common.businessentities.ServerCpu > AllServerCpuList ( 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.getAllServerCpuList ( ) ; } return new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.ServerCpu > ( ) ; }

Target:
public static java.util.List < org.ovirt.engine.core.common.businessentities.ServerCpu > allServerCpuList ( 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.getAllServerCpuList ( ) ; } return new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.ServerCpu > ( ) ; }
Source:
public void testEvaluateVm ( ) { org.junit.Assert.assertTrue ( underTest.evaluate ( NetworkType.VM ) ) ; }

Target:
public void testEvaluateVm ( ) { org.junit.Assert.assertTrue ( underTest.test ( NetworkType.VM ) ) ; }
Source:
public void testUpdate ( ) { super . testUpdate ( ) ; }

Target:
public void testUpdate ( ) { org.junit.jupiter.api.Assertions.assertThrows ( java.lang.UnsupportedOperationException.class , super :: testUpdate ) ; }
Source:
public void setvm_active ( java.lang.Integer value ) { this . vm_active = value ; }

Target:
public void setVmActive ( java.lang.Integer value ) { vmActive = value ; }
Source:
public void testGetByNicWithInvalidNicId ( ) { org.ovirt.engine.core.common.businessentities.network.HostNicVfsConfig result = dao.getByNicId ( Guid.Empty ) ; org.junit.Assert.assertNull ( result ) ; }

Target:
public void testGetByNicWithInvalidNicId ( ) { org.ovirt.engine.core.common.businessentities.network.HostNicVfsConfig result = dao.getByNicId ( Guid.Empty ) ; org.junit.jupiter.api.Assertions.assertNull ( result ) ; }
Source:
public void setCpuOverCommitTimestamp ( java.util.Date value ) { mVdsDynamic.setcpu_over_commit_time_stamp ( value ) ; }

Target:
public boolean getCountThreadsAsCores ( ) { return countThreadsAsCores ; }