conor 01/01/05 02:55:06
Modified: src/main/org/apache/tools/ant/taskdefs Tstamp.java
Log:
Make new TSTAMP code compile with JDK 1.2 (and 1.1)
Thanks Martin.
Reported by: Martin POESCHL <[EMAIL PROTECTED]>
Revision Changes Path
1.10 +2 -2
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Tstamp.java
Index: Tstamp.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Tstamp.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Tstamp.java 2001/01/05 09:45:47 1.9
+++ Tstamp.java 2001/01/05 10:55:05 1.10
@@ -88,7 +88,7 @@
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 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);