You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jean-Louis Boudart <je...@gmail.com> on 2014/01/14 09:39:30 UTC
ModuleDescriptorParser used in RepositoryCacheManager and ResolutionCacheManager
Hi there,
Currently, the ModuleDescriptorParser used in both RepositoryCacheManager
and ResolutionCacheManager is hardcoded as XmlModuleDescriptorParser.
I'm wondering if this make sense to be hardcoded ?
Wouldn't be better to use
ModuleDescriptorParserRegistry.getInstance().getParser() ? Or at least
extract the "hardcoded" MDParser in a method to get easily changed by
subclasses ?
--
Jean Louis Boudart
Independent consultant
Apache EasyAnt commiter http://ant.apache.org/easyant/