From 65c5aea079b45bcfbf29654ef7e9ea66dd912945 Mon Sep 17 00:00:00 2001 From: Stefano Mazzocchi Date: Sat, 3 Apr 2010 17:01:04 +0000 Subject: [PATCH] set the internal version by hand, this is done to avoid NPE after reloads but also because it's only used to version the data dumps so the granularity of svn revisions was too high anyway git-svn-id: http://google-refine.googlecode.com/svn/trunk@380 7d457c2a-affb-35e4-300a-418c747d4874 --- src/server/java/com/metaweb/gridworks/Gridworks.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/server/java/com/metaweb/gridworks/Gridworks.java b/src/server/java/com/metaweb/gridworks/Gridworks.java index 93c2c3f6d..a9755240a 100644 --- a/src/server/java/com/metaweb/gridworks/Gridworks.java +++ b/src/server/java/com/metaweb/gridworks/Gridworks.java @@ -36,7 +36,7 @@ import com.metaweb.util.threads.ThreadPoolExecutorAdapter; public class Gridworks { - static private String version; + static private final String version = "1.0a"; static private File tempDir; private static Logger root = Logger.getRootLogger(); @@ -88,8 +88,6 @@ public class Gridworks { Logger jetty_logger = Logger.getLogger("org.mortbay.log"); jetty_logger.setLevel(Level.WARN); - version = Configurations.get("gridworks.version","trunk"); - tempDir = new File(Configurations.get("gridworks.temp","temp")); if (!tempDir.exists()) tempDir.mkdirs();