small bug in move class to upper level

when target class is named the same as the class it extends.

example:
(inner) class X extends Y

move X to upper level and name it Y.
-> problem should be detected before performing the refactoring.

Please sign in to leave a comment.