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 3c772c276..0713c3893 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 boolean isThin() { * * 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 2ed1c52fd..e9d1a3213 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 boolean isThin() { * * 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; }