]> source.dussan.org Git - jackcess.git/commitdiff
Fix BigIndexTest to work in IDEs w/out sys.prop
authorJames Ahlborn <jtahlborn@yahoo.com>
Fri, 12 Mar 2010 00:44:56 +0000 (00:44 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Fri, 12 Mar 2010 00:44:56 +0000 (00:44 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@440 f203690c-595d-4dc9-a70b-905162fa7fd2

pom.xml
src/changes/changes.xml
test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java

diff --git a/pom.xml b/pom.xml
index 28abc7ef77f4f436bf51e8e60126f3e5436e286c..1822121f628eaf082e3d711bf60b42543508a18b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       <organization>Health Market Science, Inc.</organization>
       <timezone>-5</timezone>
     </developer>
+    <developer>
+      <name>Dan Rollo</name>
+      <id>bhamail</id>
+      <email>bhamail@users.sf.net</email>
+      <timezone>-5</timezone>
+    </developer>
   </developers>
   <issueManagement>
     <system>SourceForge</system>
index d2cb8732b65d7b371820be0710cbd4751d0cd3bd..d4bc2f1c96164c2c99f61be0a109162f131cc9b9 100644 (file)
@@ -4,6 +4,11 @@
     <author email="javajedi@users.sf.net">Tim McCune</author>
   </properties>
   <body>
+    <release version="1.1.22" date="TBD">
+      <action dev="bhamail" type="fix" issue="2968957">
+        Fix BigIndexTest to work in IDE's w/out sys.prop.
+      </action>
+    </release>
     <release version="1.1.21" date="2010-01-19">
       <action dev="jahlborn" type="fix" issue="2899605">
         Further improvements to date handling.
index 212bae869c0ebfd35585d5c4cc6d49c14a8f8ad1..f874aec9367fe66965608a82abb50d05f6a73ed8 100644 (file)
@@ -58,7 +58,11 @@ public class BigIndexTest extends TestCase {
   
   @Override
   protected void tearDown() {
-    System.setProperty(Database.USE_BIG_INDEX_PROPERTY, _oldBigIndexValue);
+    if (_oldBigIndexValue != null) {
+      System.setProperty(Database.USE_BIG_INDEX_PROPERTY, _oldBigIndexValue);
+    } else {
+      System.clearProperty(Database.USE_BIG_INDEX_PROPERTY);
+    }
   }
   
   public void testComplexIndex() throws Exception