ba96db961d86198b1e61b27a420c8525f9e2b91e
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type contextFactory : RuleActivatorContextFactory to contextFactory : CachingRuleActivatorContextFactory in method public CachingRuleActivator(system2 System2, db DbClient, ruleIndex RuleIndex, contextFactory CachingRuleActivatorContextFactory, typeValidations TypeValidations, activeRuleIndexer ActiveRuleIndexer, userSession UserSession) in class org.sonar.server.qualityprofile.CachingRuleActivator | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type FOO_LANGUAGE : DummyLanguage to FOO_LANGUAGE : Language in class org.sonar.server.qualityprofile.RegisterQualityProfilesTest | From | To | |
Change Attribute Type BAR_LANGUAGE : DummyLanguage to BAR_LANGUAGE : Language in class org.sonar.server.qualityprofile.RegisterQualityProfilesTest | From | To | |
Extract Method | 3 | ||
Extract Method package getRule(dbSession DbSession, ruleKey RuleKey) : Optional<RuleDto> extracted from private initRule(ruleKey RuleKey, context RuleActivatorContext, dbSession DbSession) : RuleDto in class org.sonar.server.qualityprofile.RuleActivatorContextFactory | From | To | |
Extract Method package getActiveRule(session DbSession, key ActiveRuleKey) : Optional<ActiveRuleDto> extracted from private initActiveRules(profileKey String, ruleKey RuleKey, context RuleActivatorContext, session DbSession, parent boolean) : void in class org.sonar.server.qualityprofile.RuleActivatorContextFactory | From | To | |
Extract Method package getActiveRuleParams(session DbSession, activeRuleDto ActiveRuleDto) : List<ActiveRuleParamDto> extracted from private initActiveRules(profileKey String, ruleKey RuleKey, context RuleActivatorContext, session DbSession, parent boolean) : void in class org.sonar.server.qualityprofile.RuleActivatorContextFactory | From | To |