summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2016-02-05 18:22:58 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2016-02-05 18:22:58 +0900
commit4e5255c59a6e26975bb95fa35a85ae2563fb0769 (patch)
tree33f4f211ed28e0a6f74dc2ae6a551ac9487eed5f /org.eclipse.jgit
parentef471b086171075caadcef5f9fd16ee67aeea525 (diff)
downloadjgit-4e5255c59a6e26975bb95fa35a85ae2563fb0769.tar.gz
jgit-4e5255c59a6e26975bb95fa35a85ae2563fb0769.zip
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>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java12
1 files 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 915066d58f..f6d1209cb5 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<RepoProject> {
/**
* 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 class RepoProject implements Comparable<RepoProject> {
/**
* 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
font-weight: bold } /* Literal.Number.Integer.Long */
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %plugin_name
Bundle-SymbolicName: org.eclipse.jgit.http.server
Bundle-Version: 4.6.2.qualifier
Bundle-Localization: plugin
Bundle-Vendor: %provider_name
Export-Package: org.eclipse.jgit.http.server;version="4.6.2",
 org.eclipse.jgit.http.server.glue;version="4.6.2";
  uses:="javax.servlet,javax.servlet.http",
 org.eclipse.jgit.http.server.resolver;version="4.6.2";
  uses:="org.eclipse.jgit.transport.resolver,
   org.eclipse.jgit.lib,
   org.eclipse.jgit.transport,
   javax.servlet.http"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Import-Package: javax.servlet;version="[2.5.0,3.2.0)",
 javax.servlet.http;version="[2.5.0,3.2.0)",
 org.eclipse.jgit.errors;version="[4.6.2,4.7.0)",
 org.eclipse.jgit.internal.storage.dfs;version="[4.6.2,4.7.0)",
 org.eclipse.jgit.internal.storage.file;version="[4.6.2,4.7.0)",
 org.eclipse.jgit.lib;version="[4.6.2,4.7.0)",
 org.eclipse.jgit.nls;version="[4.6.2,4.7.0)",
 org.eclipse.jgit.revwalk;version="[4.6.2,4.7.0)",
 org.eclipse.jgit.transport;version="[4.6.2,4.7.0)",
 org.eclipse.jgit.transport.resolver;version="[4.6.2,4.7.0)",
 org.eclipse.jgit.util;version="[4.6.2,4.7.0)"