Browse Source

Make new TSTAMP code compile with JDK 1.2 (and 1.1)

Thanks Martin.

Reported by: 	Martin POESCHL <Martin.POESCHL@sds.at>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268406 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 24 years ago
parent
commit
40cfacf23b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/Tstamp.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/Tstamp.java View File

@@ -88,7 +88,7 @@ public class Tstamp extends Task {
while(i.hasMoreElements()) while(i.hasMoreElements())
{ {
CustomFormat cts = (CustomFormat)i.nextElement(); CustomFormat cts = (CustomFormat)i.nextElement();
cts.execute(project,d);
cts.execute(project,d, location);
} }
} catch (Exception e) { } 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) { if (propertyName == null) {
throw new BuildException("property attribute must be provided", location); throw new BuildException("property attribute must be provided", location);


Loading…
Cancel
Save