1d496ada626be5dbdfe6dce8c71b9adc4fbd813d
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Push Down Method | 6 | ||
| Push Down Method public getKey() : String from class org.sonar.server.computation.debt.Characteristic to public getKey() : String from class org.sonar.server.computation.debt.CharacteristicImpl | From | To | |
| Push Down Method public hashCode() : int from class org.sonar.server.computation.debt.Characteristic to public hashCode() : int from class org.sonar.server.computation.debt.CharacteristicImpl | From | To | |
| Push Down Method public equals(o Object) : boolean from class org.sonar.server.computation.debt.Characteristic to public equals(o Object) : boolean from class org.sonar.server.computation.debt.CharacteristicImpl | From | To | |
| Push Down Method public getId() : int from class org.sonar.server.computation.debt.Characteristic to public getId() : int from class org.sonar.server.computation.debt.CharacteristicImpl | From | To | |
| Push Down Method public getParentId() : Integer from class org.sonar.server.computation.debt.Characteristic to public getParentId() : Integer from class org.sonar.server.computation.debt.CharacteristicImpl | From | To | |
| Push Down Method public toString() : String from class org.sonar.server.computation.debt.Characteristic to public toString() : String from class org.sonar.server.computation.debt.CharacteristicImpl | From | To | |
| Extract Subclass | 1 | ||
| Extract Subclass org.sonar.server.computation.debt.CharacteristicImpl from class org.sonar.server.computation.debt.Characteristic | From | To | |
| Push Down Attribute | 3 | ||
| Push Down Attribute private parentId : Integer from class org.sonar.server.computation.debt.Characteristic to private parentId : Integer from class org.sonar.server.computation.debt.CharacteristicImpl | From | To | |
| Push Down Attribute private key : String from class org.sonar.server.computation.debt.Characteristic to private key : String from class org.sonar.server.computation.debt.CharacteristicImpl | From | To | |
| Push Down Attribute private id : int from class org.sonar.server.computation.debt.Characteristic to private id : int from class org.sonar.server.computation.debt.CharacteristicImpl | From | To | |
| Rename Class | 1 | ||
| Rename Class org.sonar.server.computation.debt.CharacteristicTest renamed to org.sonar.server.computation.debt.CharacteristicImplTest | From | To | |
| Change Variable Type | 4 | ||
| Change Variable Type anotherCharacteristic : Characteristic to anotherCharacteristic : CharacteristicImpl in method public test_equals_and_hashcode() : void in class org.sonar.server.computation.debt.CharacteristicImplTest | From | To | |
| Change Variable Type characteristic : Characteristic to characteristic : CharacteristicImpl in method public test_equals_and_hashcode() : void in class org.sonar.server.computation.debt.CharacteristicImplTest | From | To | |
| Change Variable Type characteristic : Characteristic to characteristic : CharacteristicImpl in method public test_getter_and_setter() : void in class org.sonar.server.computation.debt.CharacteristicImplTest | From | To | |
| Change Variable Type sameCharacteristic : Characteristic to sameCharacteristic : CharacteristicImpl in method public test_equals_and_hashcode() : void in class org.sonar.server.computation.debt.CharacteristicImplTest | From | To |