fix static leak

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702230 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2015-09-10 12:18:21 +00:00
parent b0d1e6f741
commit a6d953d22d
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public class TestTaxonomyFacetCounts2 extends FacetTestCase {
@AfterClass @AfterClass
public static void afterClassCountingFacetsAggregatorTest() throws Exception { public static void afterClassCountingFacetsAggregatorTest() throws Exception {
IOUtils.close(indexDir, taxoDir); IOUtils.close(indexDir, taxoDir);
indexDir = taxoDir = null;
} }
private static List<FacetField> randomCategories(Random random) { private static List<FacetField> randomCategories(Random random) {