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 <david.pursehouse@sonymobile.com>
This commit is contained in:
David Pursehouse 2016-02-05 18:22:58 +09:00
parent ef471b0861
commit 4e5255c59a
1 changed files with 6 additions and 6 deletions

View File

@ -252,10 +252,10 @@ public void addCopyFile(CopyFile copyfile) {
/**
* Add a bunch of copyfile configurations.
*
* @param copyfiles
* @param copyFiles
*/
public void addCopyFiles(Collection<CopyFile> copyfiles) {
this.copyfiles.addAll(copyfiles);
public void addCopyFiles(Collection<CopyFile> copyFiles) {
this.copyfiles.addAll(copyFiles);
}
/**
@ -288,13 +288,13 @@ public boolean isAncestorOf(RepoProject that) {
/**
* 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