From: <svn...@os...> - 2012-06-14 03:42:45
|
Author: bencaradocdavies Date: 2012-06-13 20:42:35 -0700 (Wed, 13 Jun 2012) New Revision: 38804 Modified: trunk/modules/plugin/epsg-hsql/src/test/java/org/geotools/referencing/factory/epsg/LongitudeFirstFactoryOverrideTest.java Log: GEOT-4174: Build failure in gt-epsq-hsql caused by LongitudeFirstFactoryOverrideTest forceXY hint leak Modified: trunk/modules/plugin/epsg-hsql/src/test/java/org/geotools/referencing/factory/epsg/LongitudeFirstFactoryOverrideTest.java =================================================================== --- trunk/modules/plugin/epsg-hsql/src/test/java/org/geotools/referencing/factory/epsg/LongitudeFirstFactoryOverrideTest.java 2012-06-12 01:16:00 UTC (rev 38803) +++ trunk/modules/plugin/epsg-hsql/src/test/java/org/geotools/referencing/factory/epsg/LongitudeFirstFactoryOverrideTest.java 2012-06-14 03:42:35 UTC (rev 38804) @@ -16,11 +16,12 @@ */ package org.geotools.referencing.factory.epsg; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; import java.util.Properties; import org.geotools.factory.AbstractFactory; +import org.geotools.factory.Hints; import org.geotools.referencing.CRS; import org.geotools.referencing.ReferencingFactoryFinder; import org.junit.After; @@ -74,6 +75,7 @@ public void tearDown() { // unset axis ordering hint System.clearProperty("org.geotools.referencing.forceXY"); + Hints.removeSystemDefault(Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER); CRS.reset("all"); } |