e5c9087d3bb50e74a80b64624d6425dc5cda4641
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 1 | ||
| Rename Variable key : String to param : Map.Entry<String,Object> in method public parameters() : Map<String,String> in class org.sonar.server.qualityprofile.QProfileActivity | From | To | |
| Extract Attribute | 14 | ||
| Extract Attribute private ATTRIBUTE_SAME : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_PLUGIN_NAME : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_SEVERITY : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_PLUGIN_KEY : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_LANGUAGE_KEY : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_LEFT : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_LANGUAGE_NAME : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_IN_RIGHT : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_NAME : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_RIGHT : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_MODIFIED : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_IN_LEFT : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_PARAMS : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Extract Attribute private ATTRIBUTE_KEY : String in class org.sonar.server.qualityprofile.ws.QProfileCompareAction | From | To | |
| Parameterize Variable | 3 | ||
| Parameterize Variable ancestorKey : String to key : String in method private writeProfileAttributes(json JsonWriter, key String, name String, parentKey String, profileStats Map<String,Multimap<String,FacetValue>>) : void in class org.sonar.server.qualityprofile.ws.QProfileInheritanceAction | From | To | |
| Parameterize Variable profileKey : String to key : String in method private writeProfileAttributes(json JsonWriter, key String, name String, parentKey String, profileStats Map<String,Multimap<String,FacetValue>>) : void in class org.sonar.server.qualityprofile.ws.QProfileInheritanceAction | From | To | |
| Parameterize Variable childKey : String to key : String in method private writeProfileAttributes(json JsonWriter, key String, name String, parentKey String, profileStats Map<String,Multimap<String,FacetValue>>) : void in class org.sonar.server.qualityprofile.ws.QProfileInheritanceAction | From | To | |
| Extract Variable | 1 | ||
| Extract Variable parentKey : String in method public handle(request Request, response Response) : void from class org.sonar.server.qualityprofile.ws.QProfileCopyAction | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type key : String to param : Map.Entry<String,Object> in method public parameters() : Map<String,String> in class org.sonar.server.qualityprofile.QProfileActivity | From | To | |
| Extract Method | 3 | ||
| Extract Method private writeProfileAttributes(json JsonWriter, key String, name String, parentKey String, profileStats Map<String,Multimap<String,FacetValue>>) : void extracted from private writeAncestors(json JsonWriter, ancestors List<QProfile>, profileStats Map<String,Multimap<String,FacetValue>>) : void in class org.sonar.server.qualityprofile.ws.QProfileInheritanceAction | From | To | |
| Extract Method private writeProfileAttributes(json JsonWriter, key String, name String, parentKey String, profileStats Map<String,Multimap<String,FacetValue>>) : void extracted from private writeChildren(json JsonWriter, children List<QualityProfileDto>, profileStats Map<String,Multimap<String,FacetValue>>) : void in class org.sonar.server.qualityprofile.ws.QProfileInheritanceAction | From | To | |
| Extract Method private writeProfileAttributes(json JsonWriter, key String, name String, parentKey String, profileStats Map<String,Multimap<String,FacetValue>>) : void extracted from private writeProfile(json JsonWriter, profile QualityProfileDto, profileStats Map<String,Multimap<String,FacetValue>>) : void in class org.sonar.server.qualityprofile.ws.QProfileInheritanceAction | From | To |