bc02e17e446f8b89220ef05322d3e212cc0c8f0c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method private checkPermission(dbSession DbSession, qualityProfileKey String) : void from class org.sonar.server.qualityprofile.ws.ActivateRuleAction to public checkPermission(dbSession DbSession, qualityProfileKey String) : void from class org.sonar.server.qualityprofile.ws.QProfileWsSupport | From | To | |
Move Method private checkPermission(dbSession DbSession, qualityProfileKey String) : void from class org.sonar.server.qualityprofile.ws.DeactivateRuleAction to public checkPermission(dbSession DbSession, qualityProfileKey String) : void from class org.sonar.server.qualityprofile.ws.QProfileWsSupport | From | To | |
Inline Method | 2 | ||
Inline Method private verifyAdminPermission() : void inlined to public handle(request Request, response Response) : void in class org.sonar.server.qualityprofile.ws.ActivateRulesAction | From | To | |
Inline Method private verifyAdminPermission() : void inlined to public handle(request Request, response Response) : void in class org.sonar.server.qualityprofile.ws.DeactivateRulesAction | From | To | |
Rename Attribute | 4 | ||
Rename Attribute BULK_ACTIVATE_ACTION : String to ACTIVATE_RULES_ACTION : String in class org.sonar.server.qualityprofile.ws.ActivateRulesAction | From | To | |
Rename Attribute defaultOrganizationProvider : DefaultOrganizationProvider to dbClient : DbClient in class org.sonar.server.qualityprofile.ws.ActivateRulesAction | From | To | |
Rename Attribute defaultOrganizationProvider : DefaultOrganizationProvider to wsSupport : QProfileWsSupport in class org.sonar.server.qualityprofile.ws.DeactivateRulesAction | From | To | |
Rename Attribute BULK_DEACTIVATE_ACTION : String to DEACTIVATE_RULES_ACTION : String in class org.sonar.server.qualityprofile.ws.DeactivateRulesAction | From | To | |
Extract Variable | 2 | ||
Extract Variable qualityProfileKey : String in method public handle(request Request, response Response) : void from class org.sonar.server.qualityprofile.ws.DeactivateRulesAction | From | To | |
Extract Variable qualityProfileKey : String in method public handle(request Request, response Response) : void from class org.sonar.server.qualityprofile.ws.ActivateRulesAction | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type defaultOrganizationProvider : DefaultOrganizationProvider to dbClient : DbClient in class org.sonar.server.qualityprofile.ws.ActivateRulesAction | From | To | |
Change Attribute Type defaultOrganizationProvider : DefaultOrganizationProvider to wsSupport : QProfileWsSupport in class org.sonar.server.qualityprofile.ws.DeactivateRulesAction | From | To |