Toggle navigation
Home
org.sonar.db.component.ComponentDto to com.google.common.base.Optional<org.sonar.db.component.ComponentDto>
No. of Instances - 18
No. of Commits - 1
No. of Projects - {'sonarqube'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> External
Mapping:
Rename Method invocation
isNotNull
to
isPresent
isNotNull
to
isPresent
selectNullableByKey
to
selectByKey
isNotNull
to
isPresent
isNotNull
to
isPresent
selectNullableByKey
to
selectByKey
selectByUuid
to
selectNonNullByUuid
isNotNull
to
isPresent
Add or Remove Method invocation
assertThat(subModule2.parentProjectId())
to
assertThat(subModule2.get().parentProjectId())
project.getId()
to
project.get().getId()
assertThat(directory.parentProjectId())
to
assertThat(directory.get().parentProjectId())
subModule2.getId()
to
subModule2.get().getId()
assertThat(directory.parentProjectId())
to
assertThat(directory.get().parentProjectId())
subModule2.getId()
to
subModule2.get().getId()
projectDto.getId()
to
projectDto.get().getId()
assertThat(module.parentProjectId())
to
assertThat(module.get().parentProjectId())
project.getId()
to
project.get().getId()
assertThat(project.parentProjectId())
to
assertThat(project.get().parentProjectId())
assertThat(module.parentProjectId())
to
assertThat(module.get().parentProjectId())
project.getId()
to
project.get().getId()
assertThat(subModule1.parentProjectId())
to
assertThat(subModule1.get().parentProjectId())
project.getId()
to
project.get().getId()
assertThat(subModule2.parentProjectId())
to
assertThat(subModule2.get().parentProjectId())
project.getId()
to
project.get().getId()
uuid
to
mapper(session).selectById(id)
selectByUuid
to
fromNullable
baseProject.projectUuid()
to
baseProject.get().projectUuid()
baseProject.projectUuid().equals(baseProject.uuid())
to
baseProject.get().projectUuid().equals(baseProject.get().uuid())
baseModule
to
baseModule.get()
baseModule
to
baseModule.get()
baseProject.getId()
to
baseProject.get().getId()
assertThat(subModule1.parentProjectId())
to
assertThat(subModule1.get().parentProjectId())
project.getId()
to
project.get().getId()
assertThat(projectReloaded.name())
to
assertThat(projectReloaded.get().name())
assertThat(projectReloaded.getCreatedAt())
to
assertThat(projectReloaded.get().getCreatedAt())
Other
mapper(session).selectByKey(key)
to
mapper(session).selectByKey(key)
baseComponent
to
baseComponent
Rename Variable
selectNullableByUuid
to
selectById