diff options
author | Matthias Sohn | 2010-12-02 00:46:01 +0000 |
---|---|---|
committer | Matthias Sohn | 2010-12-02 00:46:01 +0000 |
commit | 50af4d507e809d8e16cdbe610262742220390dde (patch) | |
tree | 68f2b5602a5678d3cc0aded492f1e0353953b366 /org.eclipse.egit.core.test | |
parent | 2731eb63bbcd8509b419f19e5fa288e8fddfc1c3 (diff) | |
download | egit-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.java | 5 |
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 0deafeb9a6..96315cd27c 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(); } |