Changeset 7477


Ignore:
Timestamp:
11/23/06 22:24:39 (5 years ago)
Author:
anp
Message:

suppression de l'espace comme séparateur de fichier dans @includes et @ excludes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Res_Ant/main/org/apache/tools/ant/types/PatternSet.java

    r7009 r7477  
    238238    /** 
    239239     * Appends <code>includes</code> to the current list of include patterns. 
    240      * Patterns may be separated by a comma or a space. 
     240     * Patterns may be separated by a comma (anp : not a space). 
    241241     * 
    242242     * @param includes the string containing the include patterns 
     
    247247        } 
    248248        if (includes != null && includes.length() > 0) { 
    249             StringTokenizer tok = new StringTokenizer(includes, ", ", false); 
     249            StringTokenizer tok = new StringTokenizer(includes, ",", false);// anp : séparateur de fichier : uniquement , 
    250250            while (tok.hasMoreTokens()) { 
    251251                createInclude().setName(tok.nextToken()); 
     
    256256    /** 
    257257     * Appends <code>excludes</code> to the current list of exclude patterns. 
    258      * Patterns may be separated by a comma or a space. 
     258     * Patterns may be separated by a comma (anp : not a space). 
    259259     * 
    260260     * @param excludes the string containing the exclude patterns 
     
    265265        } 
    266266        if (excludes != null && excludes.length() > 0) { 
    267             StringTokenizer tok = new StringTokenizer(excludes, ", ", false); 
     267            StringTokenizer tok = new StringTokenizer(excludes, ",", false);// anp : séparateur de fichier : uniquement , 
    268268            while (tok.hasMoreTokens()) { 
    269269                createExclude().setName(tok.nextToken()); 
Note: See TracChangeset for help on using the changeset viewer.