Skip to content

Commit 4dfe172

Browse files
committed
Fix logger instantiation in PriorNotification entity
1 parent 821253b commit 4dfe172

File tree

1 file changed

+2
-1
lines changed
  • backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/domain/entities/prior_notification

1 file changed

+2
-1
lines changed

backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/domain/entities/prior_notification/PriorNotification.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ data class PriorNotification(
3333
) {
3434
/** Each prior notification and each of its updates have a unique fingerprint. */
3535
val fingerprint: String = listOf(reportId, updatedAt, state).joinToString(separator = ".")
36-
private val logger = LoggerFactory.getLogger(PriorNotification::class.java)
3736

3837
val state: PriorNotificationState?
3938
/**
@@ -138,6 +137,8 @@ data class PriorNotification(
138137
}
139138

140139
companion object {
140+
private val logger = LoggerFactory.getLogger(PriorNotification::class.java)
141+
141142
/**
142143
* Next initial state of the prior notification once it will be created or updated.
143144
*

0 commit comments

Comments
 (0)