Moved variable to local scope

This commit is contained in:
Owen Stephens 2017-11-16 12:47:05 +00:00
parent c10f72437f
commit df920777ac

View File

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