I'm working with legacy java code, without any Unit-Tests. Many classes need to be refactored in order to work with the project.
Many refactorings can be done with eclipse, and am I doing some by hand. After some refactoring I review the diff to cvs-HEAD, but i can't really feel certain that everything is 100% correct.
The Question: How can I validate a refactoring, that is mathematical identical to the previous version? I wish there were a tool, but i also accept "basic human algorithms" as solutions.
I know, "run your JUnit-Tests" is the best answer, but sadly, there aren't any in my project.
Thank you!