bc2c99babb24274510edf8be7b213dbe6280573f
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getNoteUserLogin() : String renamed to public getNoteUserUuid() : String in class org.sonar.db.rule.RuleDto | From | To | |
Rename Method public getNoteUserLogin() : String renamed to public getNoteUserUuid() : String in class org.sonar.db.rule.RuleMetadataDto | From | To | |
Rename Method public setNoteUserLogin(noteUserLogin String) : RuleMetadataDto renamed to public setNoteUserUuid(noteUserUuid String) : RuleMetadataDto in class org.sonar.db.rule.RuleMetadataDto | From | To | |
Rename Method public setNoteUserLogin(noteUserLogin String) : RuleDto renamed to public setNoteUserUuid(noteUserUuid String) : RuleDto in class org.sonar.db.rule.RuleDto | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type defaultOrganizationProvider : DefaultOrganizationProvider to ruleWsSupport : RuleWsSupport in method public UpdateAction(dbClient DbClient, ruleUpdater RuleUpdater, mapper RuleMapper, userSession UserSession, ruleWsSupport RuleWsSupport) in class org.sonar.server.rule.ws.UpdateAction | From | To | |
Change Parameter Type defaultOrganizationProvider : DefaultOrganizationProvider to ruleWsSupport : RuleWsSupport in method public ShowAction(dbClient DbClient, mapper RuleMapper, activeRuleCompleter ActiveRuleCompleter, ruleWsSupport RuleWsSupport) in class org.sonar.server.rule.ws.ShowAction | From | To | |
Rename Attribute | 2 | ||
Rename Attribute noteUserLogin : String to noteUserUuid : String in class org.sonar.db.rule.RuleMetadataDto | From | To | |
Rename Attribute dbTester : DbTester to db : DbTester in class org.sonar.server.rule.ws.ShowActionTest | From | To | |
Extract Variable | 4 | ||
Extract Variable severity : String in method private setSeverity(ruleResponse Rules.Rule.Builder, ruleDto RuleDefinitionDto, fieldsToReturn Set<String>) : void from class org.sonar.server.rule.ws.RuleMapper | From | To | |
Extract Variable defaultValue : String in method public apply(param RuleParamDto) : Rules.Rule.Param from class org.sonar.server.rule.ws.RuleMapper.RuleParamDtoToWsRuleParam | From | To | |
Extract Variable noteData : String in method private setNotesFields(ruleResponse Rules.Rule.Builder, ruleDto RuleMetadataDto, usersByUuid Map<String,UserDto>, fieldsToReturn Set<String>) : void from class org.sonar.server.rule.ws.RuleMapper | From | To | |
Extract Variable language : String in method private setLanguage(ruleResponse Rules.Rule.Builder, ruleDto RuleDefinitionDto, fieldsToReturn Set<String>) : void from class org.sonar.server.rule.ws.RuleMapper | From | To | |
Rename Parameter | 4 | ||
Rename Parameter noteUserLogin : String to noteUserUuid : String in method public setNoteUserUuid(noteUserUuid String) : RuleMetadataDto in class org.sonar.db.rule.RuleMetadataDto | From | To | |
Rename Parameter defaultOrganizationProvider : DefaultOrganizationProvider to ruleWsSupport : RuleWsSupport in method public UpdateAction(dbClient DbClient, ruleUpdater RuleUpdater, mapper RuleMapper, userSession UserSession, ruleWsSupport RuleWsSupport) in class org.sonar.server.rule.ws.UpdateAction | From | To | |
Rename Parameter noteUserLogin : String to noteUserUuid : String in method public setNoteUserUuid(noteUserUuid String) : RuleDto in class org.sonar.db.rule.RuleDto | From | To | |
Rename Parameter defaultOrganizationProvider : DefaultOrganizationProvider to ruleWsSupport : RuleWsSupport in method public ShowAction(dbClient DbClient, mapper RuleMapper, activeRuleCompleter ActiveRuleCompleter, ruleWsSupport RuleWsSupport) in class org.sonar.server.rule.ws.ShowAction | From | To |