ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/email EmailTask.java MimeMailer.java
Date Thu, 07 Feb 2002 20:32:34 GMT
sbailliez    02/02/07 12:32:34

  Modified:    src/main/org/apache/tools/ant/taskdefs/email EmailTask.java
                        MimeMailer.java
  Log:
  Fixing unused variable and array declarator
  
  Revision  Changes    Path
  1.6       +0 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
  
  Index: EmailTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- EmailTask.java	6 Feb 2002 01:26:00 -0000	1.5
  +++ EmailTask.java	7 Feb 2002 20:32:34 -0000	1.6
  @@ -126,7 +126,6 @@
       /** failure flag */
       private boolean failOnError = true;
       private boolean includeFileNames = false;
  -    private boolean simpleMessage = false;
       private String messageMimeType = null;
   
       /**
  
  
  
  1.3       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java
  
  Index: MimeMailer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MimeMailer.java	6 Feb 2002 00:24:44 -0000	1.2
  +++ MimeMailer.java	7 Feb 2002 20:32:34 -0000	1.3
  @@ -164,7 +164,7 @@
       private static InternetAddress[] internetAddresses( Vector list )
           throws AddressException, UnsupportedEncodingException
       {
  -        InternetAddress addrs[] = new InternetAddress[ list.size() ];
  +        InternetAddress[] addrs = new InternetAddress[ list.size() ];
           for( int i = 0; i < list.size(); ++i )
           {
               EmailAddress addr = (EmailAddress)list.elementAt( i );
  
  
  

--
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