ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant AntTypeDefinition.java
Date Tue, 14 Sep 2004 12:45:46 GMT
peterreilly    2004/09/14 05:45:46

  Modified:    src/main/org/apache/tools/ant Tag: ANT_16_BRANCH
                        AntTypeDefinition.java
  Log:
  sync
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.7.2.7   +3 -0      ant/src/main/org/apache/tools/ant/AntTypeDefinition.java
  
  Index: AntTypeDefinition.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/AntTypeDefinition.java,v
  retrieving revision 1.7.2.6
  retrieving revision 1.7.2.7
  diff -u -r1.7.2.6 -r1.7.2.7
  --- AntTypeDefinition.java	14 Apr 2004 15:42:40 -0000	1.7.2.6
  +++ AntTypeDefinition.java	14 Sep 2004 12:45:46 -0000	1.7.2.7
  @@ -352,6 +352,9 @@
           // is the same
           ClassLoader oldLoader = other.getClassLoader();
           ClassLoader newLoader = this.getClassLoader();
  +        if (oldLoader == newLoader) {
  +            return true;
  +        }
           return
               newLoader != null
               && oldLoader != null
  
  
  

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


Mime
View raw message