Toggle navigation
Home
java.lang.String to org.sonar.db.component.ComponentDto
No. of Instances - 39
No. of Commits - 19
No. of Projects - {'sonarqube'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Add or Remove Method invocation
referenceComponentUuidsById.get(dto.getCopyResourceId())
to
referenceComponent
referenceComponent.uuid()
to
referenceComponent
referenceComponent.uuid()
to
referenceComponent
referenceComponentUuidsById.get(component.getCopyResourceId())
to
referenceComponent
userSession.hasComponentUuidPermission(UserRole.ADMIN,projectUuid)
to
userSession.hasComponentPermission(UserRole.ADMIN,project)
userSession.hasComponentUuidPermission(UserRole.USER,projectUuid)
to
userSession.hasComponentPermission(UserRole.USER,project)
projectKey
to
project.getKey()
projectKey
to
project.getOrganizationUuid()
viewOrSubViewUuids.stream().filter(uuid -> userSession.hasComponentUuidPermission(UserRole.USER,uuid))
to
viewOrSubViewUuids.stream().filter(uuid -> userSession.hasComponentPermission(UserRole.USER,uuid)).map(ComponentDto::uuid)
projectUuid
to
componentDto.uuid()
newCeQueueDto(Uuids.createFast()).setStatus(status).setComponentUuid(componentUuid)
to
newCeQueueDto(Uuids.createFast()).setStatus(status).setComponent(componentDto)
Rename Variable
referenceComponentUuidsById
to
referenceComponentsById
referenceComponentUuidsById
to
referenceComponentsById
referenceComponentUuidsById
to
referenceComponentsById
getReferenceComponentUuidsById
to
getReferenceComponentsById
referenceComponentUuidsById
to
referenceComponentsById
referenceComponentUuidsById
to
referenceComponentsById
referenceComponentUuidsById
to
referenceComponentsById
referenceComponentUuidsById
to
referenceComponentsById
referenceComponentUuidsById
to
referenceComponentsById
projectUuid
to
project
projectUuid
to
project
projectUuid
to
project
projectUuid
to
project
projectKey
to
project
projectUuid
to
project
projectUuids
to
components
projectKey
to
project
projectKey
to
project
projectUuid
to
projectOrModule
uuid
to
component
projectUuid
to
componentDto
componentUuid
to
componentDto
componentUuid
to
componentDto
Cascading Type Change (Similar)
Map<Long,String>
to
Map<Long,ComponentDto>
String
to
ComponentDto
String
to
ComponentDto
Rename Method invocation
searchReferenceComponentUuidsById
to
searchReferenceComponentsById
getProjectUuid
to
getProject
getProjectUuid
to
getProject
addProjectUuidPermissions
to
addProjectPermission
selectByProjectAndLanguage
to
selectAssociatedToProjectUuidAndLanguage