9d3e3846a8fc09a4d33359417c169729549beda5
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method private checkProjectVersion(s String) : void renamed to private checkCodePeriodVersion(s String) : void in class org.sonar.ce.task.projectanalysis.component.ReportComponent.Builder | From | To | |
| Rename Method public getVersion() : String renamed to public getCodePeriodVersion() : String in class org.sonar.ce.task.projectanalysis.component.ProjectAttributes | From | To | |
| Rename Variable | 2 | ||
| Rename Variable version : String to codePeriodVersion : String in method private saveVersionEvent(session DbSession, component Component, analysisDate Long) : void in class org.sonar.ce.task.projectanalysis.step.PersistEventsStep.PersistEventComponentVisitor | From | To | |
| Rename Variable version : String to codePeriodVersion : String in method private createAnalysis(snapshotUuid String, component Component) : SnapshotDto in class org.sonar.ce.task.projectanalysis.step.PersistAnalysisStep.PersistSnapshotsPathAwareVisitor | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private projectVersion : String from class org.sonar.ce.task.projectanalysis.component.ComponentTreeBuilder to private projectVersion : String from class org.sonar.ce.task.projectanalysis.component.ProjectAttributes | From | To | |
| Move Attribute private DEFAULT_PROJECT_VERSION : String from class org.sonar.ce.task.projectanalysis.component.ComponentTreeBuilder to private DEFAULT_PROJECT_VERSION : String from class org.sonar.ce.task.projectanalysis.step.BuildComponentTreeStep | From | To | |
| Merge Parameter | 1 | ||
| Merge Parameter [baseAnalysis : SnapshotDto, projectVersion : String] to projectAttributes : ProjectAttributes in method private newUnderTest(projectAttributes ProjectAttributes, mainBranch boolean) : ComponentTreeBuilder in class org.sonar.ce.task.projectanalysis.component.ComponentTreeBuilderTest | From | To | |
| Rename Attribute | 3 | ||
| Rename Attribute NO_PROJECT_VERSION : String to SOME_PROJECT_ATTRIBUTES : ProjectAttributes in class org.sonar.ce.task.projectanalysis.component.ComponentTreeBuilderTest | From | To | |
| Rename Attribute version : String to codePeriodVersion : String in class org.sonar.ce.task.projectanalysis.component.ProjectAttributes | From | To | |
| Rename Attribute projectVersion : String to projectAttributes : ProjectAttributes in class org.sonar.ce.task.projectanalysis.component.ComponentTreeBuilder | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type projectVersion : String to projectAttributes : ProjectAttributes in class org.sonar.ce.task.projectanalysis.component.ComponentTreeBuilder | From | To | |
| Change Attribute Type NO_PROJECT_VERSION : String to SOME_PROJECT_ATTRIBUTES : ProjectAttributes in class org.sonar.ce.task.projectanalysis.component.ComponentTreeBuilderTest | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter s : String to projectVersion : String in method public setProjectVersion(projectVersion String) : Builder in class org.sonar.ce.task.projectanalysis.component.ReportComponent.Builder | From | To |