Hello everyone,
I've implemented a strategy pattern for reading an XML file in two (for now) cases. In the next image i show what differs and what is the same in both strategies.
Drawing1.jpg
Well the classes are not so big but still there is duplicate code. What would you suggest for eliminating duplicate code?