98f444c4a4204214164489bd89886f005e3faf56
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private isAuthorized(dbSession DbSession) : Predicate<ComponentDto> renamed to private getAuthorizedFavorites(dbSession DbSession) : List<ComponentDto> in class org.sonar.server.favorite.ws.SearchAction | From | To | |
| Rename Variable | 2 | ||
| Rename Variable rootProjectsUuids : Collection<String> to authorizedFavoriteComponentIds : Set<Long> in method private getAuthorizedFavorites(dbSession DbSession) : List<ComponentDto> in class org.sonar.server.favorite.ws.SearchAction | From | To | |
| Rename Variable authorizedComponentUuids : Set<String> to authorizedProjectIds : Set<Long> in method private searchProjects(dbSession DbSession, properties List<PropertyDto>) : Map<Long,ComponentDto> in class org.sonar.server.notification.ws.ListAction | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Predicate<ComponentDto> to List<ComponentDto> in method private getAuthorizedFavorites(dbSession DbSession) : List<ComponentDto> in class org.sonar.server.favorite.ws.SearchAction | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type rootProjectsUuids : Collection<String> to authorizedFavoriteComponentIds : Set<Long> in method private getAuthorizedFavorites(dbSession DbSession) : List<ComponentDto> in class org.sonar.server.favorite.ws.SearchAction | From | To | |
| Change Variable Type authorizedComponentUuids : Set<String> to authorizedProjectIds : Set<Long> in method private searchProjects(dbSession DbSession, properties List<PropertyDto>) : Map<Long,ComponentDto> in class org.sonar.server.notification.ws.ListAction | From | To |