ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r943087 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
Date Tue, 11 May 2010 11:25:37 GMT
Author: bodewig
Date: Tue May 11 11:25:37 2010
New Revision: 943087

URL: http://svn.apache.org/viewvc?rev=943087&view=rev
Log:
JDK 1.4

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java?rev=943087&r1=943086&r2=943087&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java Tue May 11
11:25:37 2010
@@ -161,7 +161,7 @@ public class EmailTask extends Task {
      * @param port The port to use.
      */
     public void setMailport(int port) {
-        this.port = Integer.valueOf(port);
+        this.port = new Integer(port);
     }
 
     /**



Mime
View raw message