multi refactor from HashMap to Map?
hi..
upon reviwing legacy code, i've stumbled upon a case where variable types are being used as HashMaps and not maps, i was told it would take an entire day to change HashMaps to maps as they are used for method signatures as well , for all the variables, is there a way to take a bunch of variables and refactor them all and the methods they are being used back to maps?
请先登录再写评论。
Hello,
Looks like a task for the 'Type Migration' refactoring.
Denis
i figured that much, but in that case , that's the diffrerence between that and Generify?
Well, these are two completely different refactorings. Feel free to check the reference - Generify, Type Migration.
Denis
oh i see i thought it meant use more generic types,so the migrate type be used on several variables ?
It may be called multiple times for different variables.
Denis