Browse Source

Fix BigIndexTest to work in IDEs w/out sys.prop

git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@440 f203690c-595d-4dc9-a70b-905162fa7fd2
tags/jackcess-1.2.0
James Ahlborn 14 years ago
parent
commit
ade82911c7

+ 6
- 0
pom.xml View File

@@ -33,6 +33,12 @@
<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>

+ 5
- 0
src/changes/changes.xml View 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.

+ 5
- 1
test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java View 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

Loading…
Cancel
Save