ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant Project.java
Date Mon, 10 Dec 2001 15:38:59 GMT
bodewig     01/12/10 07:38:59

  Modified:    src/main/org/apache/tools/ant Project.java
  Log:
  We really want to look for a constructor taking a *Project* argument,
  not a possible subclass.
  
  PR: 2652
  Submitted by:	Robert Watkins <robert.watkins@qsipayments.com>
  
  Revision  Changes    Path
  1.86      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/Project.java
  
  Index: Project.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Project.java,v
  retrieving revision 1.85
  retrieving revision 1.86
  diff -u -r1.85 -r1.86
  --- Project.java	2001/12/07 11:03:36	1.85
  +++ Project.java	2001/12/10 15:38:59	1.86
  @@ -769,7 +769,7 @@
                   ctor = c.getConstructor(new Class[0]);
                   noArg = true;
               } catch (NoSuchMethodException nse) {
  -                ctor = c.getConstructor(new Class[] {getClass()});
  +                ctor = c.getConstructor(new Class[] {Project.class});
                   noArg = false;
               }
   
  
  
  

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


Mime
View raw message