ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
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 GMT
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


Mime
View raw message