From e1c06516550065b489a491b2148f16c0ef2b3293 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Mon, 8 Jan 2024 21:30:58 +0100 Subject: [PATCH] docs(evaluated-model-reporter): Use imperative mood in function docs Signed-off-by: Sebastian Schuberth --- .../evaluated-model/src/main/kotlin/EvaluatedModelMapper.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/reporters/evaluated-model/src/main/kotlin/EvaluatedModelMapper.kt b/plugins/reporters/evaluated-model/src/main/kotlin/EvaluatedModelMapper.kt index 12512a3469a98..e199bae063393 100644 --- a/plugins/reporters/evaluated-model/src/main/kotlin/EvaluatedModelMapper.kt +++ b/plugins/reporters/evaluated-model/src/main/kotlin/EvaluatedModelMapper.kt @@ -711,9 +711,9 @@ internal class EvaluatedModelMapper(private val input: ReporterInput) { ) /** - * Adds the [value] to this list if the list does not already contain an equal item. Returns the item that is - * contained in the list. This is important to make sure that there is only one instance of equal items used in the - * model, because when Jackson generates IDs each instance gets a new ID, no matter if they are equal or not. + * Add the [value] to this list if the list does not already contain an equal item. Return the item contained in the + * list. This is important to make sure that there is only one instance of equal items used in the model, because + * when Jackson generates IDs each instance gets a new ID, no matter if they are equal or not. */ private fun MutableList.addIfRequired(value: T): T = find { it == value } ?: value.also { add(it) }