ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis Boudart <jeanlouis.boud...@gmail.com>
Subject ModuleDescriptorParser used in RepositoryCacheManager and ResolutionCacheManager
Date Tue, 14 Jan 2014 08:39:30 GMT
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/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message