Skip to content

Commit

Permalink
Merge pull request #14 from thumbtack/arrayListWhen
Browse files Browse the repository at this point in the history
Remove duplicate when statement for ArrayList
  • Loading branch information
kelvinwong11 authored Jul 10, 2024
2 parents acaa6ce + 8a6934f commit ceb29dd
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,6 @@ private fun generateValueForParameterizedType(
params,
)
}.toSet()
ArrayList::class.java ->
return List(collectionSize) { index ->
generateValueForField(
generateFieldType(type),
"$prefix$index",
params,
)
}
java.util.Map::class.java ->
return (0..< collectionSize).associate { index ->
generateValueForField(
Expand Down

0 comments on commit ceb29dd

Please sign in to comment.