Remove unused code
This commit is contained in:
parent
c961bb64de
commit
a42925f3c8
@ -36,7 +36,6 @@ package com.google.refine.tests.model;
|
|||||||
import static org.mockito.Mockito.mock;
|
import static org.mockito.Mockito.mock;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.StringWriter;
|
|
||||||
import java.nio.file.Files;
|
import java.nio.file.Files;
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
@ -85,7 +84,6 @@ public class CacheTests extends RefineTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// dependencies
|
// dependencies
|
||||||
StringWriter writer;
|
|
||||||
Project project;
|
Project project;
|
||||||
Properties options;
|
Properties options;
|
||||||
JSONObject engine_config;
|
JSONObject engine_config;
|
||||||
@ -94,8 +92,6 @@ public class CacheTests extends RefineTest {
|
|||||||
|
|
||||||
@BeforeMethod
|
@BeforeMethod
|
||||||
public void SetUp() throws JSONException, IOException, ModelException {
|
public void SetUp() throws JSONException, IOException, ModelException {
|
||||||
writer = new StringWriter();
|
|
||||||
|
|
||||||
Path dir = Files.createTempDirectory("openrefine-test-workspace-dir");
|
Path dir = Files.createTempDirectory("openrefine-test-workspace-dir");
|
||||||
FileProjectManager.initialize(dir.toFile());
|
FileProjectManager.initialize(dir.toFile());
|
||||||
project = new Project();
|
project = new Project();
|
||||||
@ -121,9 +117,10 @@ public class CacheTests extends RefineTest {
|
|||||||
|
|
||||||
@AfterMethod
|
@AfterMethod
|
||||||
public void TearDown() {
|
public void TearDown() {
|
||||||
writer = null;
|
|
||||||
project = null;
|
project = null;
|
||||||
options = null;
|
options = null;
|
||||||
|
engine = null;
|
||||||
|
bindings = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user