Below is a practice about refactoring to adapter pattern:

- Extract Interface (ITagNode)
- Replace Element with ITagNode in DomBuilder and XMLBuilder
- Pull method to AbstractBuilder
- Remove duplicated codes
Below is a practice about refactoring to adapter pattern:
本文标题:Refactoring to Adapter Pattern
本文链接:https://www.haomeiwen.com/subject/vlvybxtx.html
网友评论