From fedabb5532180cebf39c356691c9fe21e81d4ed4 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Tue, 11 May 2010 11:25:37 +0000 Subject: [PATCH] JDK 1.4 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943087 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java b/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java index 2d43854bf..5cc5dd32a 100644 --- a/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java @@ -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); } /**