From ae59bf2646bacf4e7d1e5751f65058ce05adaeb5 Mon Sep 17 00:00:00 2001 From: "probation-integration-bot[bot]" <177347787+probation-integration-bot[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 21:14:56 +0000 Subject: [PATCH] Formatting changes --- .../uk/gov/justice/digital/hmpps/service/SentenceService.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/manage-supervision-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/service/SentenceService.kt b/projects/manage-supervision-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/service/SentenceService.kt index adeb7138b8..66f71b75ce 100644 --- a/projects/manage-supervision-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/service/SentenceService.kt +++ b/projects/manage-supervision-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/service/SentenceService.kt @@ -100,7 +100,8 @@ class SentenceService( val noteText = addedBy?.let { note.removePrefix(addedBy) } ?: note val createdBy = addedBy?.removeSuffix(System.lineSeparator())?.reversed()?.substring(23)?.reversed() - val dateCreatedBy = addedBy?.removeSuffix(System.lineSeparator())?.reversed()?.substring(9,19)?.reversed() + val dateCreatedBy = + addedBy?.removeSuffix(System.lineSeparator())?.reversed()?.substring(9, 19)?.reversed() LicenceConditionNote( createdBy,