cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ba...@apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/library/mail sendmail.xsl
Date Wed, 04 Apr 2001 21:19:05 GMT
balld       01/04/04 14:19:05

  Modified:    src/org/apache/cocoon/processor/xsp/library/mail
                        sendmail.xsl
  Log:
  fixed some variable prefix stuff
  
  Revision  Changes    Path
  1.9       +10 -10    xml-cocoon/src/org/apache/cocoon/processor/xsp/library/mail/sendmail.xsl
  
  Index: sendmail.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/mail/sendmail.xsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- sendmail.xsl	2001/04/03 22:13:36	1.8
  +++ sendmail.xsl	2001/04/04 21:19:04	1.9
  @@ -157,24 +157,24 @@
         InternetAddress[] _sendmail_addr = null;
         _sendmail_addr = (InternetAddress[])_sendmail_message.getFrom();
         if (_sendmail_addr != null)
  -        for (int i=0; i<_sendmail_addr.length; i++)
  -         {  <sendmail:from><xsp:expr>_sendmail_addr[i].toString()</xsp:expr></sendmail:from>
 }
  +        for (int _sendmail_i=0; _sendmail_i&lt;_sendmail_addr.length; _sendmail_i++)
  +         {  <sendmail:from><xsp:expr>_sendmail_addr[_sendmail_i].toString()</xsp:expr></sendmail:from>
 }
         _sendmail_addr = (InternetAddress[])_sendmail_message.getReplyTo();
         if (_sendmail_addr != null)
  -        for (int i=0; i&lt;_sendmail_addr.length; i++)
  -         {  <sendmail:reply-to><xsp:expr>_sendmail_addr[i].toString()</xsp:expr></sendmail:reply-to>
 }
  +        for (int _sendmail_i=0; _sendmail_i&lt;_sendmail_addr.length; _sendmail_i++)
  +         {  <sendmail:reply-to><xsp:expr>_sendmail_addr[_sendmail_i].toString()</xsp:expr></sendmail:reply-to>
 }
         _sendmail_addr = (InternetAddress[])_sendmail_message.getRecipients (Message.RecipientType.TO);
         if (_sendmail_addr != null)
  -        for (int i=0; i&lt;_sendmail_addr.length; i++)
  -         {  <sendmail:to><xsp:expr>_sendmail_addr[i].toString()</xsp:expr></sendmail:to>
 }
  +        for (int _sendmail_i=0; _sendmail_i&lt;_sendmail_addr.length; _sendmail_i++)
  +         {  <sendmail:to><xsp:expr>_sendmail_addr[_sendmail_i].toString()</xsp:expr></sendmail:to>
 }
         _sendmail_addr = (InternetAddress[])_sendmail_message.getRecipients (Message.RecipientType.CC);
         if (_sendmail_addr != null)
  -        for (int i=0; i&lt;_sendmail_addr.length; i++)
  -         {  <sendmail:cc><xsp:expr>_sendmail_addr[i].toString()</xsp:expr></sendmail:cc>
}
  +        for (int _sendmail_i=0; _sendmail_i&lt;_sendmail_addr.length; _sendmail_i++)
  +         {  <sendmail:cc><xsp:expr>_sendmail_addr[_sendmail_i].toString()</xsp:expr></sendmail:cc>
}
         _sendmail_addr = (InternetAddress[])_sendmail_message.getRecipients(Message.RecipientType.BCC);
         if (_sendmail_addr != null)
  -        for (int i=0; i&lt;_sendmail_addr.length; i++)
  -         {  <sendmail:bcc><xsp:expr>_sendmail_addr[i].toString()</xsp:expr></sendmail:bcc>
 }
  +        for (int _sendmail_i=0; _sendmail_i&lt;_sendmail_addr.length; _sendmail_i++)
  +         {  <sendmail:bcc><xsp:expr>_sendmail_addr[_sendmail_i].toString()</xsp:expr></sendmail:bcc>
 }
           <sendmail:subject><xsp:expr>_sendmail_message.getSubject()</xsp:expr></sendmail:subject>
           <sendmail:content><xsp:expr>(String)_sendmail_message.getContent()</xsp:expr></sendmail:content>
         </xsp:logic>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message