6ac8a76c55772ce0164fb44152dffca7dcc0b036
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public set_null_periods_trows_null_pointer_exception() : void renamed to public setPeriods_throws_NPE_if_arg_is_null() : void in class org.sonar.server.computation.period.PeriodsHolderImplTest | From | To | |
Rename Method public set_periods_throws_illegal_state_exception_if_already_initialized() : void renamed to public setPeriods_throws_ISE_if_already_initialized() : void in class org.sonar.server.computation.period.PeriodsHolderImplTest | From | To | |
Replace Variable With Attribute | 3 | ||
Replace Variable With Attribute periodsHolder : PeriodsHolderImpl to underTest : PeriodsHolderImpl in method public setPeriods_throws_ISE_if_already_initialized() : void in class org.sonar.server.computation.period.PeriodsHolderImplTest | From | To | |
Replace Variable With Attribute periodsHolder : PeriodsHolderImpl to underTest : PeriodsHolderImpl in method public get_periods() : void in class org.sonar.server.computation.period.PeriodsHolderImplTest | From | To | |
Replace Variable With Attribute periodsHolder : PeriodsHolderImpl to underTest : PeriodsHolderImpl in method public update_periods_throws_unsupported_operation_exception() : void in class org.sonar.server.computation.period.PeriodsHolderImplTest | From | To | |
Extract Method | 1 | ||
Extract Method private checkHolderIsInitialized() : void extracted from public getPeriods() : List<Period> in class org.sonar.server.computation.period.PeriodsHolderImpl | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type periods : ImmutableList<Period> to periods : Period[] in class org.sonar.server.computation.period.PeriodsHolderImpl | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public setPeriods(periods Period...) : void extracted from public update_periods_throws_unsupported_operation_exception() : void in class org.sonar.server.computation.period.PeriodsHolderImplTest & moved to class org.sonar.server.computation.period.PeriodsHolderRule | From | To |