Return-Path: X-Original-To: apmail-ant-dev-archive@www.apache.org Delivered-To: apmail-ant-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7492710FD0 for ; Tue, 14 Jan 2014 08:41:46 +0000 (UTC) Received: (qmail 90025 invoked by uid 500); 14 Jan 2014 08:40:20 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 89952 invoked by uid 500); 14 Jan 2014 08:40:06 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 89897 invoked by uid 99); 14 Jan 2014 08:39:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 08:39:57 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jeanlouis.boudart@gmail.com designates 209.85.223.177 as permitted sender) Received: from [209.85.223.177] (HELO mail-ie0-f177.google.com) (209.85.223.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 08:39:51 +0000 Received: by mail-ie0-f177.google.com with SMTP id ar20so66068iec.22 for ; Tue, 14 Jan 2014 00:39:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=PC+jkQhzGJaiC3d6EQU2ExdVLID1KXauXYZUVZxysSE=; b=B3+24KeDlmwbKKFVUhSuaZrQ80jRaiJACL7N6OSSFNjsjQ5fy0eHqrmO19TA8s44Rv nVglLSpMMAYUz2svoAD2khjrUVa0w/KyQmr1HZqbfUxd8YbYDlZcIaTMnnFtOiDDKgRH v0KwaAvQ0WsrWX4GrPY/REJbCh8nQDIW86H2BFIa3Vikt2zF27jG+HR++coy/g24IKmN Y2/Vy8MkISJnDnSeKrxX7pNqil5CB3vJvL6VghB29VEtvgUZ5sdNz0PpAunTNZTrehwM tz0vwj7Vxk2i4PP0NjIlrqswyoOYYkbAizuMCKCCCKL4mzeimc1wT09SBdYoiaD7hX60 INxw== MIME-Version: 1.0 X-Received: by 10.50.41.106 with SMTP id e10mr1524471igl.37.1389688770326; Tue, 14 Jan 2014 00:39:30 -0800 (PST) Received: by 10.50.160.231 with HTTP; Tue, 14 Jan 2014 00:39:30 -0800 (PST) Date: Tue, 14 Jan 2014 09:39:30 +0100 Message-ID: Subject: ModuleDescriptorParser used in RepositoryCacheManager and ResolutionCacheManager From: Jean-Louis Boudart To: Ant Developers List Content-Type: multipart/alternative; boundary=089e0122f09680f5f304efea213b X-Virus-Checked: Checked by ClamAV on apache.org --089e0122f09680f5f304efea213b Content-Type: text/plain; charset=ISO-8859-1 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/ --089e0122f09680f5f304efea213b--