4b25bc908dd178cd656002d28851e0b4ec0fdb95
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public update_RuleMetadataDto() : void renamed to public update_RuleMetadataDto_inserts_row_in_RULE_METADATA_if_not_exists_yet() : void in class org.sonar.db.rule.RuleDaoTest | From | To | |
Rename Method private newContext(change RuleUpdate) : Context renamed to private getRuleDto(change RuleUpdate) : RuleDto in class org.sonar.server.rule.RuleUpdater | From | To | |
Change Parameter Type | 7 | ||
Change Parameter Type context : Context to rule : RuleDto in method private updateMarkdownNote(update RuleUpdate, rule RuleDto, userSession UserSession) : void in class org.sonar.server.rule.RuleUpdater | From | To | |
Change Parameter Type noteUpdatedAt : Date to noteUpdatedAt : Long in method public setNoteUpdatedAt(noteUpdatedAt Long) : RuleMetadataDto in class org.sonar.db.rule.RuleMetadataDto | From | To | |
Change Parameter Type noteUpdatedAt : Date to noteUpdatedAt : Long in method public setNoteUpdatedAt(noteUpdatedAt Long) : RuleDto in class org.sonar.db.rule.RuleDto | From | To | |
Change Parameter Type noteCreatedAt : Date to noteCreatedAt : Long in method public setNoteCreatedAt(noteCreatedAt Long) : RuleMetadataDto in class org.sonar.db.rule.RuleMetadataDto | From | To | |
Change Parameter Type noteCreatedAt : Date to noteCreatedAt : Long in method public setNoteCreatedAt(noteCreatedAt Long) : RuleDto in class org.sonar.db.rule.RuleDto | From | To | |
Change Parameter Type context : Context to rule : RuleDto in method private updateParameters(dbSession DbSession, update RuleUpdate, rule RuleDto) : void in class org.sonar.server.rule.RuleUpdater | From | To | |
Change Parameter Type context : Context to rule : RuleDto in method private apply(update RuleUpdate, rule RuleDto, userSession UserSession) : void in class org.sonar.server.rule.RuleUpdater | From | To | |
Rename Variable | 1 | ||
Rename Variable context : Context to rule : RuleDto in method public update(dbSession DbSession, update RuleUpdate, userSession UserSession) : boolean in class org.sonar.server.rule.RuleUpdater | From | To | |
Change Return Type | 5 | ||
Change Return Type Date to Long in method public getNoteCreatedAt() : Long in class org.sonar.db.rule.RuleDto | From | To | |
Change Return Type Date to Long in method public getNoteUpdatedAt() : Long in class org.sonar.db.rule.RuleMetadataDto | From | To | |
Change Return Type Date to Long in method public getNoteCreatedAt() : Long in class org.sonar.db.rule.RuleMetadataDto | From | To | |
Change Return Type Context to RuleDto in method private getRuleDto(change RuleUpdate) : RuleDto in class org.sonar.server.rule.RuleUpdater | From | To | |
Change Return Type Date to Long in method public getNoteUpdatedAt() : Long in class org.sonar.db.rule.RuleDto | From | To | |
Extract Variable | 1 | ||
Extract Variable dbClient : DbClient in method public before() : void from class org.sonar.server.rule.RuleCreatorMediumTest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type context : Context to rule : RuleDto in method public update(dbSession DbSession, update RuleUpdate, userSession UserSession) : boolean in class org.sonar.server.rule.RuleUpdater | From | To | |
Change Variable Type rule : RuleDefinitionDto to rule : RuleDto in method public selectOrFailByKey() : void in class org.sonar.db.rule.RuleDaoTest | From | To | |
Inline Variable | 1 | ||
Inline Variable ruleDtos : List<RuleDto> in method public selectAll() : void from class org.sonar.db.rule.RuleDaoTest | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type noteUpdatedAt : Date to noteUpdatedAt : Long in class org.sonar.db.rule.RuleMetadataDto | From | To | |
Change Attribute Type noteCreatedAt : Date to noteCreatedAt : Long in class org.sonar.db.rule.RuleMetadataDto | From | To | |
Rename Parameter | 3 | ||
Rename Parameter context : Context to rule : RuleDto in method private updateParameters(dbSession DbSession, update RuleUpdate, rule RuleDto) : void in class org.sonar.server.rule.RuleUpdater | From | To | |
Rename Parameter context : Context to rule : RuleDto in method private apply(update RuleUpdate, rule RuleDto, userSession UserSession) : void in class org.sonar.server.rule.RuleUpdater | From | To | |
Rename Parameter context : Context to rule : RuleDto in method private updateMarkdownNote(update RuleUpdate, rule RuleDto, userSession UserSession) : void in class org.sonar.server.rule.RuleUpdater | From | To |