From d0aa912a55895769052bda45d3610069039c7476 Mon Sep 17 00:00:00 2001 From: acolyer Date: Thu, 11 Aug 2005 10:35:41 +0000 Subject: [PATCH] removed hard-coded date of July 5th --- bridge/src/org/aspectj/bridge/Version.java | 16 ++++++++-------- 1 file 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; } -- 2.39.5