Moved variable to local scope
@@ -70,7 +70,6 @@ import com.google.refine.tests.util.TestUtils;
public class JoinMultiValuedCellsTests extends RefineTest {
// dependencies
- private RefineServlet servlet;
private Project project;
private ProjectMetadata pm;
private JSONObject options;
@@ -86,7 +85,7 @@ public class JoinMultiValuedCellsTests extends RefineTest {
@BeforeMethod
public void setUp() throws JSONException, IOException, ModelException {
- servlet = new RefineServletStub();
+ RefineServlet servlet = new RefineServletStub();
File dir = TestUtils.createTempDirectory("openrefine-test-workspace-dir");
FileProjectManager.initialize(dir);
project = new Project();
@@ -182,6 +181,5 @@ public class JoinMultiValuedCellsTests extends RefineTest {
whenGetBooleanOption("storeBlankCellsAsNulls", options, true);
}
-
}
