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 IntrospectionHelper.java
Date Thu, 24 Jul 2003 13:54:05 GMT
peterreilly    2003/07/24 06:54:05

  Modified:    src/main/org/apache/tools/ant IntrospectionHelper.java
  Log:
  use valueof instead of new Boolean
  
  Revision  Changes    Path
  1.63      +2 -1      ant/src/main/org/apache/tools/ant/IntrospectionHelper.java
  
  Index: IntrospectionHelper.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/IntrospectionHelper.java,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- IntrospectionHelper.java	23 Jul 2003 12:22:36 -0000	1.62
  +++ IntrospectionHelper.java	24 Jul 2003 13:54:04 -0000	1.63
  @@ -894,7 +894,8 @@
                       public void set(Project p, Object parent, String value)
                           throws InvocationTargetException, IllegalAccessException {
                           m.invoke(parent,
  -                                 new Boolean[] {new Boolean(Project.toBoolean(value))});
  +                                 new Boolean[] {
  +                                     Boolean.valueOf(Project.toBoolean(value))});
                       }
   
                   };
  
  
  

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


Mime
View raw message