From 17fc61380f8df084a259ad10ae2cae3ce273e212 Mon Sep 17 00:00:00 2001 From: Shubham Goyal Date: Thu, 5 Dec 2024 16:02:38 +0530 Subject: [PATCH] rename var --- app/src/org/commcare/tasks/EntityLoaderHelper.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/org/commcare/tasks/EntityLoaderHelper.kt b/app/src/org/commcare/tasks/EntityLoaderHelper.kt index d1b048fff..35cd11c99 100644 --- a/app/src/org/commcare/tasks/EntityLoaderHelper.kt +++ b/app/src/org/commcare/tasks/EntityLoaderHelper.kt @@ -37,7 +37,7 @@ class EntityLoaderHelper( fun loadEntities(nodeset: TreeReference): Pair>, List>? { val references = factory.expandReferenceList(nodeset) - val full: MutableList> = ArrayList() + val entities: MutableList> = ArrayList() focusTargetIndex = -1 var indexInFullList = 0 for (ref in references) { @@ -46,7 +46,7 @@ class EntityLoaderHelper( } val e = factory.getEntity(ref) if (e != null) { - full.add(e) + entities.add(e) if (e.shouldReceiveFocus()) { focusTargetIndex = indexInFullList } @@ -54,9 +54,9 @@ class EntityLoaderHelper( } } - factory.prepareEntities(full) + factory.prepareEntities(entities) factory.printAndClearTraces("build") - return Pair>, List>(full, references) + return Pair>, List>(entities, references) } override fun cancel() {