summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/FetchCommand.java6
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/FetchCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/FetchCommand.java
index 3c772c2765..0713c38931 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/FetchCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/FetchCommand.java
@@ -491,13 +491,13 @@ public class FetchCommand extends TransportCommand<FetchCommand, FetchResult> {
*
* Default setting is Transport.DEFAULT_FETCH_THIN
*
- * @param thin
+ * @param thinPack
* the thin-pack preference
* @return {@code this}
*/
- public FetchCommand setThin(boolean thin) {
+ public FetchCommand setThin(boolean thinPack) {
checkCallable();
- this.thin = thin;
+ this.thin = thinPack;
return this;
}
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java
index 2ed1c52fd7..e9d1a3213b 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java
@@ -614,13 +614,13 @@ public class PushCommand extends
*
* Default setting is Transport.DEFAULT_PUSH_THIN
*
- * @param thin
+ * @param thinPack
* the thin-pack preference value
* @return {@code this}
*/
- public PushCommand setThin(boolean thin) {
+ public PushCommand setThin(boolean thinPack) {
checkCallable();
- this.thin = thin;
+ this.thin = thinPack;
return this;
}