Skip to content

Commit

Permalink
removed fixed TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pgarrett committed Dec 23, 2024
1 parent e5439c1 commit 94b090d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,13 @@ open class RestActionTestCaseNamingStrategy(
}
}

// TODO: need to check if the BooleanGene is not enclosed in an OptionalGene
private fun getBooleanQueryParams(queryParams: List<QueryParam>): List<QueryParam> {
return queryParams.filter {
val booleanGene = it.getGeneForQuery().getWrappedGene(BooleanGene::class.java)
booleanGene != null && booleanGene.staticCheckIfImpactPhenotype() && booleanGene.value
}
}

// TODO: need to check if the NumberGene is not enclosed in an OptionalGene
private fun getNegativeNumberQueryParams(queryParams: List<QueryParam>): List<QueryParam> {
return queryParams.filter {
val numberGene = it.getGeneForQuery().getWrappedGene(NumberGene::class.java)
Expand Down

0 comments on commit 94b090d

Please sign in to comment.