diff --git a/biz.aQute.bndlib.tests/src/test/LocationTest.java b/biz.aQute.bndlib.tests/src/test/LocationTest.java index 47bf338675..189b27b138 100644 --- a/biz.aQute.bndlib.tests/src/test/LocationTest.java +++ b/biz.aQute.bndlib.tests/src/test/LocationTest.java @@ -11,16 +11,17 @@ public class LocationTest extends TestCase { Workspace ws; + private File tmp; public void setUp() throws Exception { - File tmp = IO.getFile("generated/tmp"); + tmp = IO.getFile("generated/tmp"); IO.copy(IO.getFile("testresources/ws-location"), tmp); ws = new Workspace(tmp); } public void tearDown() throws Exception { - IO.delete(new File("tmp")); + IO.delete(tmp); } public void testMerged() throws Exception {