diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2014-07-15 11:32:23 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-09-04 11:35:16 +0200 |
commit | 2f6372337cfd5944e2179f5ec5e2dbe0cbc96386 (patch) | |
tree | e8c61e3ebc4c54b6cfda4f2e4155cd825fa408ec /org.eclipse.jgit/src/org/eclipse/jgit/treewalk | |
parent | 547f05d675e27b60a8d5a32e92f8f0e04582bdab (diff) | |
download | jgit-2f6372337cfd5944e2179f5ec5e2dbe0cbc96386.tar.gz jgit-2f6372337cfd5944e2179f5ec5e2dbe0cbc96386.zip |
Rename local variables/parameters to remove warnings about hiding
Change-Id: I73f38492b6a2e7fd6e77005efd0a8a8c65763e74
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/treewalk')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java index 2dd3c3aa14..41e593eaa2 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java @@ -328,13 +328,13 @@ public abstract class AbstractTreeIterator { * position to start reading the raw buffer. * @param end * one past the end of the raw buffer (length is end - pos). - * @param mode + * @param pathMode * the mode of the path. * @return -1 if this entry sorts first; 0 if the entries are equal; 1 if * p's entry sorts first. */ - public int pathCompare(byte[] buf, int pos, int end, int mode) { - return pathCompare(buf, pos, end, mode, 0); + public int pathCompare(byte[] buf, int pos, int end, int pathMode) { + return pathCompare(buf, pos, end, pathMode, 0); } private int pathCompare(byte[] b, int bPos, int bEnd, int bMode, int aPos) { |