From 046c0c102470f6bea8162649eb1d44a9d63324d8 Mon Sep 17 00:00:00 2001 From: Ben Caradoc-Davies Date: Wed, 27 Jun 2018 14:59:51 +1200 Subject: [PATCH] [GEOT-6050] Upgrade HSQLDB to 2.4.1 --- .../referencing/factory/epsg/ThreadedHsqlEpsgFactory.java | 4 ++-- .../referencing/factory/epsg/ThreadedHsqlEpsgFactoryTest.java | 2 +- pom.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/plugin/epsg-hsql/src/main/java/org/geotools/referencing/factory/epsg/ThreadedHsqlEpsgFactory.java b/modules/plugin/epsg-hsql/src/main/java/org/geotools/referencing/factory/epsg/ThreadedHsqlEpsgFactory.java index 6abc3df1781..adf9a2ddee8 100644 --- a/modules/plugin/epsg-hsql/src/main/java/org/geotools/referencing/factory/epsg/ThreadedHsqlEpsgFactory.java +++ b/modules/plugin/epsg-hsql/src/main/java/org/geotools/referencing/factory/epsg/ThreadedHsqlEpsgFactory.java @@ -74,7 +74,7 @@ public class ThreadedHsqlEpsgFactory extends ThreadedEpsgFactory { * version number if there is some changes related to the EPSG-HSQL plugin rather then the EPSG * database itself (for example additional database index). */ - public static final Version VERSION = new Version("8.6.0.0"); + public static final Version VERSION = new Version("8.6.0.1"); /** * The key for fetching the database directory from {@linkplain System#getProperty(String) @@ -157,7 +157,7 @@ private static File getDirectory() { /** Returns the directory to uses in the temporary directory folder. */ private static File getTemporaryDirectory() { - File directory = new File(System.getProperty("java.io.tmpdir", "."), "Geotools"); + File directory = new File(System.getProperty("java.io.tmpdir", "."), "GeoTools"); if (directory.isDirectory() || directory.mkdir()) { directory = new File(directory, "Databases/HSQL"); if (directory.isDirectory() || directory.mkdirs()) { diff --git a/modules/plugin/epsg-hsql/src/test/java/org/geotools/referencing/factory/epsg/ThreadedHsqlEpsgFactoryTest.java b/modules/plugin/epsg-hsql/src/test/java/org/geotools/referencing/factory/epsg/ThreadedHsqlEpsgFactoryTest.java index 357c94406c7..c052bd30095 100644 --- a/modules/plugin/epsg-hsql/src/test/java/org/geotools/referencing/factory/epsg/ThreadedHsqlEpsgFactoryTest.java +++ b/modules/plugin/epsg-hsql/src/test/java/org/geotools/referencing/factory/epsg/ThreadedHsqlEpsgFactoryTest.java @@ -353,7 +353,7 @@ public void testTmpWithSpaces() throws Exception { assertNotNull(factory.createCoordinateReferenceSystem("EPSG:4326")); String creationMarker = String.format( - "Geotools/Databases/HSQL/v%s/EPSG_creation_marker.txt", + "GeoTools/Databases/HSQL/v%s/EPSG_creation_marker.txt", ThreadedHsqlEpsgFactory.VERSION); assertTrue((new File(tmpDir, creationMarker)).exists()); } finally { diff --git a/pom.xml b/pom.xml index ee4144d592b..1b4a0c61d65 100644 --- a/pom.xml +++ b/pom.xml @@ -997,7 +997,7 @@ org.hsqldb hsqldb - 2.3.0 + 2.4.1 org.openplans