526583323c8dd7f5ea174757726218cec784848a
Files Diff
- Added: 4
- Removed: 28
- Renamed: 0
- Modified: 34
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public insertProperty(property PropertyDto) : void renamed to public saveProperty(property PropertyDto) : void in class org.sonar.db.property.PropertiesDao | From | To | |
| Rename Method public insertGlobalProperties(properties Map<String,String>) : void renamed to public saveGlobalProperties(properties Map<String,String>) : void in class org.sonar.db.property.PropertiesDao | From | To | |
| Rename Method public select_module_properties_tree() : void renamed to public selectEnabledDescendantModuleProperties() : void in class org.sonar.db.property.PropertiesDaoTest | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type id : int to id : long in method private findById(properties List<PropertyDto>, id long) : PropertyDto in class org.sonar.db.property.PropertiesDaoTest | From | To | |
| Change Return Type | 5 | ||
| Change Return Type void to int in method public deleteProjectProperty(key String, componentId Long) : int in class org.sonar.db.property.PropertiesMapper | From | To | |
| Change Return Type void to int in method public deleteProjectProperties(key String, value String) : int in class org.sonar.db.property.PropertiesMapper | From | To | |
| Change Return Type void to int in method public deleteGlobalProperty(key String) : int in class org.sonar.db.property.PropertiesMapper | From | To | |
| Change Return Type void to int in method public renamePropertyKey(oldKey String, newKey String) : int in class org.sonar.db.property.PropertiesMapper | From | To | |
| Change Return Type void to int in method public deleteById(id long) : int in class org.sonar.db.property.PropertiesMapper | From | To | |
| Inline Variable | 2 | ||
| Inline Variable users : List<String> in method public findNotificationSubscribers() : void from class org.sonar.db.property.PropertiesDaoTest | From | To | |
| Inline Variable users : List<String> in method public shouldFindUsersForNotification() : void from class org.sonar.db.property.PropertiesDaoTest | From | To | |
| Extract Method | 1 | ||
| Extract Method private insertProject(uuid String) : ComponentDto extracted from public select_global_properties_by_keys() : void in class org.sonar.db.property.PropertiesDaoTest | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter resourceId : Long to componentId : Long in method public deleteProjectProperty(key String, componentId Long) : int in class org.sonar.db.property.PropertiesMapper | From | To | |
| Rename Parameter resourceId : long to componentId : long in method public selectProjectProperty(dbSession DbSession, componentId long, propertyKey String) : PropertyDto in class org.sonar.db.property.PropertiesDao | From | To | |
| Rename Parameter resourceId : long to componentId : long in method public selectProjectProperty(componentId long, propertyKey String) : PropertyDto in class org.sonar.db.property.PropertiesDao | From | To |