There is an abstract class called AbstractAgent and currently there are 27 classes who are extending this class.
I have started developing some agents and all my 5 agents are extending AbstractAgent class.
Now I observed that there is a getFilePath() which I am copy-pasting in all my 5 agents. Then I realized that out of existing 27 classes also there were many classes who had this method. I thought it would be a good idea to put this method in the base class AbstractAgent and let everybody use this method. But I dont want all existing classes to change their code I have changed the method name so that going forward anyone can use it.
The person who did my code review suggested me not to touch AbstractAgent class because it is already being used by existing clients and put this method is some utility class.
I am not convinced by his argument. Anybody want to pitch in their thoughts.