]> source.dussan.org Git - jgit.git/commitdiff
RefDirectoryTest: Fix warning about member variable hiding 50/66450/1
authorDavid Pursehouse <david.pursehouse@sonymobile.com>
Fri, 12 Feb 2016 03:30:46 +0000 (12:30 +0900)
committerDavid Pursehouse <david.pursehouse@sonymobile.com>
Fri, 12 Feb 2016 03:30:46 +0000 (12:30 +0900)
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>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java

index 52e181bc8019be1d975c75b213c416f8813934f9..ef5dfcd8eeb02e8934f18982a8360ab2f1b322b5 100644 (file)
@@ -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;
                }