From 40cfacf23be83a5ef4fb8a5edf0fba6c7db909fc Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Fri, 5 Jan 2001 10:55:05 +0000 Subject: [PATCH] Make new TSTAMP code compile with JDK 1.2 (and 1.1) Thanks Martin. Reported by: Martin POESCHL git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268406 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/Tstamp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Tstamp.java b/src/main/org/apache/tools/ant/taskdefs/Tstamp.java index ef6e9917d..a994cb090 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Tstamp.java +++ b/src/main/org/apache/tools/ant/taskdefs/Tstamp.java @@ -88,7 +88,7 @@ public class Tstamp extends Task { while(i.hasMoreElements()) { CustomFormat cts = (CustomFormat)i.nextElement(); - cts.execute(project,d); + cts.execute(project,d, location); } } catch (Exception e) { @@ -158,7 +158,7 @@ public class Tstamp extends Task { } } - public void execute(Project project, Date date) + public void execute(Project project, Date date, Location location) { if (propertyName == null) { throw new BuildException("property attribute must be provided", location);