ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Sync.java
Date Thu, 10 Mar 2005 12:27:42 GMT
bodewig     2005/03/10 04:27:41

  Modified:    src/main/org/apache/tools/ant/taskdefs Sync.java
  Log:
  Unused variable found by Kev Jackson
  
  Revision  Changes    Path
  1.24      +0 -1      ant/src/main/org/apache/tools/ant/taskdefs/Sync.java
  
  Index: Sync.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Sync.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- Sync.java	9 Mar 2005 00:20:40 -0000	1.23
  +++ Sync.java	10 Mar 2005 12:27:41 -0000	1.24
  @@ -174,7 +174,6 @@
               // but we need to find all that we want to delete - so the
               // meaning of all patterns and selectors must be inverted
               PatternSet ps = syncTarget.mergePatterns(getProject());
  -            String[] excludes = ps.getExcludePatterns(getProject());
               fs.appendExcludes(ps.getIncludePatterns(getProject()));
               fs.appendIncludes(ps.getExcludePatterns(getProject()));
               fs.setDefaultexcludes(!syncTarget.getDefaultexcludes());
  
  
  

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


Mime
View raw message