Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 56326 invoked from network); 6 Sep 2006 20:03:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2006 20:03:13 -0000 Received: (qmail 24864 invoked by uid 500); 6 Sep 2006 20:03:12 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 24822 invoked by uid 500); 6 Sep 2006 20:03:12 -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 24811 invoked by uid 500); 6 Sep 2006 20:03:12 -0000 Received: (qmail 24808 invoked by uid 99); 6 Sep 2006 20:03:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 13:03:12 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 13:03:11 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 868451A981A; Wed, 6 Sep 2006 13:02:51 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r440853 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/types/PatternSet.java Date: Wed, 06 Sep 2006 20:02:51 -0000 To: ant-cvs@apache.org From: peterreilly@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20060906200251.868451A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: peterreilly Date: Wed Sep 6 13:02:50 2006 New Revision: 440853 URL: http://svn.apache.org/viewvc?view=rev&rev=440853 Log: Bugzilla 36772: allow public access to PatternSet#hasPatterns Modified: ant/core/trunk/WHATSNEW ant/core/trunk/src/main/org/apache/tools/ant/types/PatternSet.java Modified: ant/core/trunk/WHATSNEW URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?view=diff&rev=440853&r1=440852&r2=440853 ============================================================================== --- ant/core/trunk/WHATSNEW (original) +++ ant/core/trunk/WHATSNEW Wed Sep 6 13:02:50 2006 @@ -30,6 +30,8 @@ Bugzilla report 28865. * Convert SplashTask to use NOT sun internal classes. Bugzilla report 35619. +* Made PatterSet#hasPatterns public to allow custom filesets access. + Bugzilla report 36772. Changes from Ant 1.6.5 to Ant 1.7.0Beta1 ======================================== Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/PatternSet.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/PatternSet.java?view=diff&rev=440853&r1=440852&r2=440853 ============================================================================== --- ant/core/trunk/src/main/org/apache/tools/ant/types/PatternSet.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/types/PatternSet.java Wed Sep 6 13:02:50 2006 @@ -398,9 +398,12 @@ } /** - * helper for FileSet. + * Helper for FileSet classes. + * Check if there are patterns defined. + * @param p the current project. + * @return true if there are patterns. */ - boolean hasPatterns(Project p) { + public boolean hasPatterns(Project p) { if (isReference()) { return getRef(p).hasPatterns(p); } else { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org