894305bb873f56d55d4acff8a5657a1cd966ab0c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Rename Method | 1 | ||
| Move And Rename Method private profileDtoToQProfile(dto QualityProfileDto) : QProfile from class org.sonar.server.qualityprofile.ws.SearchDataLoader to public apply(input QualityProfileDto) : QProfile from class org.sonar.server.qualityprofile.ws.SearchDataLoader.QualityProfileDtoToQProfile | From | To | |
| Rename Variable | 1 | ||
| Rename Variable moduleKey : String to componentKey : String in method private findProjectProfiles(request SearchWsRequest) : Collection<QProfile> in class org.sonar.server.qualityprofile.ws.SearchDataLoader | From | To | |
| Inline Method | 1 | ||
| Inline Method private orderProfiles(profiles List<QProfile>) : List<QProfile> inlined to private findProfiles(request SearchWsRequest) : List<QProfile> in class org.sonar.server.qualityprofile.ws.SearchDataLoader | From | To | |
| Change Return Type | 3 | ||
| Change Return Type List<QProfile> to Collection<QProfile> in method private findProjectProfiles(request SearchWsRequest) : Collection<QProfile> in class org.sonar.server.qualityprofile.ws.SearchDataLoader | From | To | |
| Change Return Type List<QProfile> to Collection<QProfile> in method private findDefaultProfiles(request SearchWsRequest) : Collection<QProfile> in class org.sonar.server.qualityprofile.ws.SearchDataLoader | From | To | |
| Change Return Type Boolean to boolean in method private askDefaultProfiles(request SearchWsRequest) : boolean in class org.sonar.server.qualityprofile.ws.SearchDataLoader | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type profiles : List<QProfile> to profiles : Collection<QProfile> in method private findProfiles(request SearchWsRequest) : List<QProfile> in class org.sonar.server.qualityprofile.ws.SearchDataLoader | From | To | |
| Extract Variable | 1 | ||
| Extract Variable entries : Set<Map.Entry<String,Long>> in method public countAllActiveRules() : Map<String,Long> from class org.sonar.server.qualityprofile.QProfileLoader | From | To | |
| Extract Method | 1 | ||
| Extract Method private lookupByModuleKey(dbSession DbSession, qualityProfiles Map<String,QProfile>, languageKeys Set<String>, moduleKey String) : Set<String> extracted from private findProjectProfiles(request SearchWsRequest) : List<QProfile> in class org.sonar.server.qualityprofile.ws.SearchDataLoader | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter dto : QualityProfileDto to input : QualityProfileDto in method public apply(input QualityProfileDto) : QProfile in class org.sonar.server.qualityprofile.ws.SearchDataLoader.QualityProfileDtoToQProfile | From | To |