Skip to content

Commit

Permalink
🎨 "Convert to expression body"
Browse files Browse the repository at this point in the history
  • Loading branch information
havstein committed Oct 26, 2024
1 parent fdf80b5 commit 93a9a4a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ internal class TotrinnsvurderingDao(
).update()
}

override fun opprett(vedtaksperiodeId: UUID): TotrinnsvurderingOld {
return hentAktiv(vedtaksperiodeId) ?: opprettTotrinnsvurdering(vedtaksperiodeId)
}
override fun opprett(vedtaksperiodeId: UUID) = hentAktiv(vedtaksperiodeId) ?: opprettTotrinnsvurdering(vedtaksperiodeId)

private fun opprettTotrinnsvurdering(vedtaksperiodeId: UUID): TotrinnsvurderingOld {
asSQL(
Expand Down

0 comments on commit 93a9a4a

Please sign in to comment.