Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2010-12-01 19:46:01 -0500
committerMatthias Sohn2010-12-01 19:46:01 -0500
commit50af4d507e809d8e16cdbe610262742220390dde (patch)
tree68f2b5602a5678d3cc0aded492f1e0353953b366 /org.eclipse.egit.core.test
parent2731eb63bbcd8509b419f19e5fa288e8fddfc1c3 (diff)
downloadegit-50af4d507e809d8e16cdbe610262742220390dde.tar.gz
egit-50af4d507e809d8e16cdbe610262742220390dde.tar.xz
egit-50af4d507e809d8e16cdbe610262742220390dde.zip
[findbugs] Remove unread field
Change-Id: Ief270304c07596f9dd3a4207ae0afb8b0c30fa5d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.core.test')
-rw-r--r--org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/AddOperationTest.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/AddOperationTest.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/AddOperationTest.java
index 0deafeb9a..96315cd27 100644
--- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/AddOperationTest.java
+++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/AddOperationTest.java
@@ -23,7 +23,6 @@ import org.eclipse.egit.core.op.AddToIndexOperation;
import org.eclipse.egit.core.test.GitTestCase;
import org.eclipse.egit.core.test.TestRepository;
import org.eclipse.jgit.lib.Constants;
-import org.eclipse.jgit.lib.Repository;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@@ -34,22 +33,18 @@ public class AddOperationTest extends GitTestCase {
TestRepository testRepository;
- Repository repository;
-
@Before
public void setUp() throws Exception {
super.setUp();
gitDir = new File(project.getProject()
.getLocationURI().getPath(), Constants.DOT_GIT);
testRepository = new TestRepository(gitDir);
- repository = testRepository.getRepository();
testRepository.connect(project.getProject());
}
@After
public void tearDown() throws Exception {
testRepository.dispose();
- repository = null;
super.tearDown();
}

Back to the top