summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2014-07-15 11:32:23 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2014-09-04 11:35:16 +0200
commit2f6372337cfd5944e2179f5ec5e2dbe0cbc96386 (patch)
treee8c61e3ebc4c54b6cfda4f2e4155cd825fa408ec /org.eclipse.jgit.pgm
parent547f05d675e27b60a8d5a32e92f8f0e04582bdab (diff)
downloadjgit-2f6372337cfd5944e2179f5ec5e2dbe0cbc96386.tar.gz
jgit-2f6372337cfd5944e2179f5ec5e2dbe0cbc96386.zip
Rename local variables/parameters to remove warnings about hiding
Change-Id: I73f38492b6a2e7fd6e77005efd0a8a8c65763e74
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java
index ea2ef358b7..7151de794d 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java
+++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java
@@ -232,16 +232,16 @@ public class Main {
/**
* Evaluate the {@code --git-dir} option and open the repository.
*
- * @param gitdir
+ * @param aGitdir
* the {@code --git-dir} option given on the command line. May be
* null if it was not supplied.
* @return the repository to operate on.
* @throws IOException
* the repository cannot be opened.
*/
- protected Repository openGitDir(String gitdir) throws IOException {
+ protected Repository openGitDir(String aGitdir) throws IOException {
RepositoryBuilder rb = new RepositoryBuilder() //
- .setGitDir(gitdir != null ? new File(gitdir) : null) //
+ .setGitDir(aGitdir != null ? new File(aGitdir) : null) //
.readEnvironment() //
.findGitDir();
if (rb.getGitDir() == null)