This is an automated email from the ASF dual-hosted git repository.
jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git
The following commit(s) were added to refs/heads/master by this push:
new 5334942 bz-62617 Move the log message to the right place
5334942 is described below
commit 5334942ce91deefc55e6072f54464efa2ff339d1
Author: Jaikiran Pai <[email protected]>
AuthorDate: Tue Oct 22 09:45:45 2019 +0530
bz-62617 Move the log message to the right place
---
src/main/org/apache/tools/ant/taskdefs/Tstamp.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/org/apache/tools/ant/taskdefs/Tstamp.java
b/src/main/org/apache/tools/ant/taskdefs/Tstamp.java
index 077052d..aa1034e 100644
--- a/src/main/org/apache/tools/ant/taskdefs/Tstamp.java
+++ b/src/main/org/apache/tools/ant/taskdefs/Tstamp.java
@@ -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