diff options
author | acolyer <acolyer> | 2005-08-11 10:35:41 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-11 10:35:41 +0000 |
commit | d0aa912a55895769052bda45d3610069039c7476 (patch) | |
tree | e07303868aa3854a9ba024c6e5ce283138de4714 /bridge | |
parent | 818059b879ce33d4b5c0a3abbb6bfe3b9408c967 (diff) | |
download | aspectj-d0aa912a55895769052bda45d3610069039c7476.tar.gz aspectj-d0aa912a55895769052bda45d3610069039c7476.zip |
removed hard-coded date of July 5th
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/src/org/aspectj/bridge/Version.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bridge/src/org/aspectj/bridge/Version.java b/bridge/src/org/aspectj/bridge/Version.java index b729ef55b..dcedf5616 100644 --- a/bridge/src/org/aspectj/bridge/Version.java +++ b/bridge/src/org/aspectj/bridge/Version.java @@ -37,7 +37,7 @@ public class Version { * Time text set by build script using SIMPLE_DATE_FORMAT. * (if DEVELOPMENT version, invalid) */ - public static final String time_text = "mardi juil. 5, 2005 at 09:56:18 GMT"; + public static final String time_text = ""; /** * time in seconds-since-... format, used by programmatic clients. @@ -51,13 +51,13 @@ public class Version { // if not DEVELOPMENT version, read time text using format used to set time static { long foundTime = NOTIME; - try { - SimpleDateFormat format = new SimpleDateFormat(SIMPLE_DATE_FORMAT); - ParsePosition pos = new ParsePosition(0); - Date date = format.parse(time_text, pos); - foundTime = date.getTime(); - } catch (Throwable t) { - } + try { + SimpleDateFormat format = new SimpleDateFormat(SIMPLE_DATE_FORMAT); + ParsePosition pos = new ParsePosition(0); + Date date = format.parse(time_text, pos); + foundTime = date.getTime(); + } catch (Throwable t) { + } time = foundTime; } |