[errorprone] Rename method parameter to silence InvalidParam

See https://errorprone.info/bugpattern/InvalidParam

Change-Id: I53279bc5e0fc59788d42994be9931857b918414b
This commit is contained in:
Matthias Sohn 2023-09-20 22:23:16 +02:00
parent e6c808600d
commit 8302377d91
2 changed files with 6 additions and 6 deletions

View File

@ -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;
}

View File

@ -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;
}