diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2016-02-12 12:30:46 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2016-02-12 12:30:46 +0900 |
commit | 615280ba0789994b548cf847e9d149b96ea57aab (patch) | |
tree | 9aa04a03557a2760f89dec4bdcf5121cf73e4dc9 | |
parent | 952f381981b5d537f354d967e413a1b5b162c002 (diff) | |
download | jgit-615280ba0789994b548cf847e9d149b96ea57aab.tar.gz jgit-615280ba0789994b548cf847e9d149b96ea57aab.zip |
RefDirectoryTest: Fix warning about member variable hiding
The parameter name 'totalWork' was hiding a class member variable
of the same name.
Change-Id: I646525e82900e23ffabfc756bcf5052ef873656a
Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java index 52e181bc80..ef5dfcd8ee 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java @@ -1444,8 +1444,8 @@ public class RefDirectoryTest extends LocalDiskRepositoryTestCase { // empty } - public void beginTask(String title, int totalWork) { - this.totalWork = totalWork; + public void beginTask(String title, int total) { + this.totalWork = total; lastWork = 0; } |