diff options
author | aclement <aclement> | 2006-08-25 12:41:38 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-08-25 12:41:38 +0000 |
commit | 40cf61076994bf2dd6f0397b1bd0287ed546a75b (patch) | |
tree | 99e2de64e95686d07ec08c6e2ee9bfe9ce15e28f /bridge/testsrc | |
parent | b394aa711917bc4330bccbb65032171a12fcb8fa (diff) | |
download | aspectj-40cf61076994bf2dd6f0397b1bd0287ed546a75b.tar.gz aspectj-40cf61076994bf2dd6f0397b1bd0287ed546a75b.zip |
fix for 155213: made using date formatter lazy.
Diffstat (limited to 'bridge/testsrc')
-rw-r--r-- | bridge/testsrc/org/aspectj/bridge/VersionTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/testsrc/org/aspectj/bridge/VersionTest.java b/bridge/testsrc/org/aspectj/bridge/VersionTest.java index 6339a1633..1da10675c 100644 --- a/bridge/testsrc/org/aspectj/bridge/VersionTest.java +++ b/bridge/testsrc/org/aspectj/bridge/VersionTest.java @@ -44,7 +44,7 @@ public class VersionTest extends TestCase { public void testVersion() { if (Version.time_text.equals("")) return; // dev build, we can only test this on the build server. - Date date = new Date(Version.time); + Date date = new Date(Version.getTime()); SimpleDateFormat format = new SimpleDateFormat(Version.SIMPLE_DATE_FORMAT, Locale.getDefault()); format.setTimeZone(TimeZone.getTimeZone("GMT")); String timeString = format.format(date); |