f1a7b51a442031acc42867f0d1b9c5dcfc07b1fc
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method public set_sonarqube_issues_homepage() : void renamed to public set_SonarQube_issues_homepage() : void in class org.sonar.server.user.ws.SetHomepageActionTest | From | To | |
Rename Method private setHomepageParameter(dbSession DbSession, homepageType String, homepageParameter String, homepage CurrentWsResponse.Homepage.Builder) : void renamed to private doBuildHomepage(dbSession DbSession, user UserDto) : Optional<CurrentWsResponse.Homepage> in class org.sonar.server.user.ws.CurrentAction | From | To | |
Rename Method public set_sonarcloud_my_issues_homepage() : void renamed to public set_SonarCloud_my_issues_homepage() : void in class org.sonar.server.user.ws.SetHomepageActionTest | From | To | |
Rename Method public set_sonarqube_projects_homepage() : void renamed to public set_SonarQube_projects_homepage() : void in class org.sonar.server.user.ws.SetHomepageActionTest | From | To | |
Rename Method public set_sonarcloud_my_projects_homepage() : void renamed to public set_SonarCloud_my_projects_homepage() : void in class org.sonar.server.user.ws.SetHomepageActionTest | From | To | |
Change Return Type | 1 | ||
Change Return Type void to Optional<CurrentWsResponse.Homepage> in method private doBuildHomepage(dbSession DbSession, user UserDto) : Optional<CurrentWsResponse.Homepage> in class org.sonar.server.user.ws.CurrentAction | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type homepageTypes : HomepageTypes to homepageTypes : HomepageTypesImpl in class org.sonar.server.user.ws.CurrentActionTest | From | To | |
Inline Variable | 1 | ||
Inline Variable homepageType : String in method private buildHomepage(dbSession DbSession, user UserDto) : CurrentWsResponse.Homepage from class org.sonar.server.user.ws.CurrentAction | From | To | |
Extract Method | 3 | ||
Extract Method private noHomepageSet(user UserDto) : boolean extracted from private buildHomepage(dbSession DbSession, user UserDto) : CurrentWsResponse.Homepage in class org.sonar.server.user.ws.CurrentAction | From | To | |
Extract Method private isOnSonarCloud() : Boolean extracted from public start() : void in class org.sonar.server.user.ws.HomepageTypesImpl | From | To | |
Extract Method private isOrganizationEnabled(dbSession DbSession) : boolean extracted from public start() : void in class org.sonar.server.user.ws.HomepageTypesImpl | From | To |