Skip to content

Commit

Permalink
ktlintFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-britton-moj committed Sep 21, 2023
1 parent 93a4dce commit b1c8997
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ object PersonGenerator {
softDeleted: Boolean = false,
id: Long = IdGenerator.getAndIncrement()
) = Person(crn, pnc, forename, secondName, thirdName, surname, dateOfBirth, softDeleted, id)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ internal class EngagementCreatedTest {
)
)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ class EngagementResource(private val personService: PersonService) {
@PreAuthorize("hasRole('VIEW_PROBATION_CASE_ENGAGEMENT_CREATED')")
@GetMapping("probation-case.engagement.created/{crn}")
fun getEngagement(@PathVariable crn: String): Engagement = personService.findEngagement(crn)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class Person(

@Id
@Column(name = "offender_id")
val id: Long,
val id: Long
)

interface PersonRepository : JpaRepository<Person, Long> {
fun findByCrn(crn: String): Person?
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ data class Name(
val forename: String,
val surname: String,
val otherNames: List<String>
)
)

0 comments on commit b1c8997

Please sign in to comment.