Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit d8d92c9

Browse files
Rename variables
1 parent 6d65f91 commit d8d92c9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/GitHub.Api/UI/TreeBase.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -300,19 +300,19 @@ private List<TNode> GetLeafNodes(TNode node, int idx)
300300
return results;
301301
}
302302

303-
private void SetCheckStateOnNode(TNode node, bool isChecked)
303+
private void SetCheckStateOnNode(TNode node, bool setChecked)
304304
{
305-
SetCheckStateOnNode(node, isChecked ? CheckState.Checked : CheckState.Empty);
305+
SetCheckStateOnNode(node, setChecked ? CheckState.Checked : CheckState.Empty);
306306
}
307307

308-
private void SetCheckStateOnNode(TNode node, CheckState nodeCheckState)
308+
private void SetCheckStateOnNode(TNode node, CheckState setCheckState)
309309
{
310-
var isChecked = nodeCheckState == CheckState.Checked
311-
|| nodeCheckState == CheckState.Mixed;
310+
var isChecked = setCheckState == CheckState.Checked
311+
|| setCheckState == CheckState.Mixed;
312312

313313
var wasChecked = node.CheckState == CheckState.Checked;
314314

315-
node.CheckState = nodeCheckState;
315+
node.CheckState = setCheckState;
316316

317317
if (!node.IsFolder)
318318
{

0 commit comments

Comments
 (0)