ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/types AbstractFileSet.java
Date Fri, 11 Feb 2005 17:46:31 GMT
mbenson     2005/02/11 09:46:31

  Modified:    src/main/org/apache/tools/ant/types AbstractFileSet.java
  Log:
  Keep setFile atomic.
  
  Revision  Changes    Path
  1.43      +1 -1      ant/src/main/org/apache/tools/ant/types/AbstractFileSet.java
  
  Index: AbstractFileSet.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/AbstractFileSet.java,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- AbstractFileSet.java	11 Feb 2005 17:44:13 -0000	1.42
  +++ AbstractFileSet.java	11 Feb 2005 17:46:31 -0000	1.43
  @@ -210,7 +210,7 @@
        * @param file the single <code>File</code> included in this
        *             <code>AbstractFileSet</code>.
        */
  -    public void setFile(File file) {
  +    public synchronized void setFile(File file) {
           if (isReference()) {
               throw tooManyAttributes();
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message