Skip to content

Commit a75b4d1

Browse files
committed
Refactor: replace seeTopGenes().flatMap() with seeAllGenes() for improved readability and efficiency.
1 parent 368d889 commit a75b4d1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

core/src/main/kotlin/org/evomaster/core/sql/SqlActionUtils.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ object SqlActionUtils {
155155

156156
for (i in 0 until actions.size) {
157157
val currentAction = actions[i]
158-
val currentFkGenes = currentAction.seeTopGenes()
159-
.flatMap { it.flatView() }
158+
val currentFkGenes = currentAction.seeAllGenes()
160159
.filterIsInstance<SqlForeignKeyGene>()
161160

162161
currentFkGenes.find { !it.nullable && !it.isBound() }

0 commit comments

Comments
 (0)