ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r704498 - in /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email: MimeMailer.java PlainMailer.java
Date Tue, 14 Oct 2008 12:02:11 GMT
Author: bodewig
Date: Tue Oct 14 05:02:10 2008
New Revision: 704498

URL: http://svn.apache.org/viewvc?rev=704498&view=rev
Log:
whitespace

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/PlainMailer.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java?rev=704498&r1=704497&r2=704498&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java Tue Oct 14
05:02:10 2008
@@ -203,10 +203,10 @@
             msg.addHeader("Date", getDate());
 
             if (headers != null) {
-            for (Iterator iter = headers.iterator(); iter.hasNext();) {
-                Header h = (Header) iter.next();
-                msg.addHeader(h.getName(), h.getValue());
-            }
+                for (Iterator iter = headers.iterator(); iter.hasNext();) {
+                    Header h = (Header) iter.next();
+                    msg.addHeader(h.getName(), h.getValue());
+                }
             }
             PrintStream out = new PrintStream(sds.getOutputStream());
             message.print(out);

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/PlainMailer.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/PlainMailer.java?rev=704498&r1=704497&r2=704498&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/PlainMailer.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/PlainMailer.java Tue Oct 14
05:02:10 2008
@@ -72,11 +72,11 @@
                 mailMessage.setHeader("Content-Type", message.getMimeType());
             }
             if (headers != null) {
-            e = headers.elements();
-            while (e.hasMoreElements()) {
-                Header h = (Header) e.nextElement();
-                mailMessage.setHeader(h.getName(), h.getValue());
-            }
+                e = headers.elements();
+                while (e.hasMoreElements()) {
+                    Header h = (Header) e.nextElement();
+                    mailMessage.setHeader(h.getName(), h.getValue());
+                }
             }
             PrintStream out = mailMessage.getPrintStream();
             message.print(out);



Mime
View raw message