From 4e5255c59a6e26975bb95fa35a85ae2563fb0769 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Fri, 5 Feb 2016 18:22:58 +0900 Subject: [PATCH] RepoProject: Fix warnings about variable hiding Method parameter names were hiding class members of the same name. Change-Id: I182f2715894ac4259b09a371cb4e0eb24f52518a Signed-off-by: David Pursehouse --- .../src/org/eclipse/jgit/gitrepo/RepoProject.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java index 915066d58..f6d1209cb 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java @@ -252,10 +252,10 @@ public class RepoProject implements Comparable { /** * Add a bunch of copyfile configurations. * - * @param copyfiles + * @param copyFiles */ - public void addCopyFiles(Collection copyfiles) { - this.copyfiles.addAll(copyfiles); + public void addCopyFiles(Collection copyFiles) { + this.copyfiles.addAll(copyFiles); } /** @@ -288,13 +288,13 @@ public class RepoProject implements Comparable { /** * Check if this sub repo is an ancestor of the given path. * - * @param path + * @param thatPath * path to be checked to see if it is within this repository * @return true if this sub repo is an ancestor of the given path. * @since 4.2 */ - public boolean isAncestorOf(String path) { - return path.startsWith(getPathWithSlash()); + public boolean isAncestorOf(String thatPath) { + return thatPath.startsWith(getPathWithSlash()); } @Override