Closed steindani closed 9 years ago
I think you performed an extract superclass refactoring.
The execution of the requested create superclass refactoring only consists out of creating the superclass. A pull-up of a method is not requested.
Thanks for the quick reply! That makes sense. :)
I found the following two cases contradictory. If I check, whether the method to be pulled up into the new class accesses a local field and refuse to execute the transformation, the
hidden_csc1_1
test fails. If I allow it, thehidden_csc1_2
test fails.In the
hidden_csc1_1
test, TheChildClass1
class has a fieldfield
and the methodmethod()
accesses it. TheChildClass2
class does not have a field. Why should the transformation be executed?