Browse Source

bz-62617 Move the log message to the right place

master
Jaikiran Pai 5 years ago
parent
commit
5334942ce9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Tstamp.java

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

@@ -83,8 +83,8 @@ public class Tstamp extends Task {
if (epoch != null) {
// Value of SOURCE_DATE_EPOCH will be an integer, representing seconds.
d = new Date(Integer.parseInt(epoch) * 1000);
log("Honouring environment variable " + ENV_SOURCE_DATE_EPOCH + " which has been set to " + epoch);
}
log("Honouring environment variable " + ENV_SOURCE_DATE_EPOCH + " which has been set to " + epoch);
} catch(NumberFormatException e) {
// ignore
log("Ignoring invalid value '" + epoch + "' for " + ENV_SOURCE_DATE_EPOCH


Loading…
Cancel
Save