Skip to content

Commit

Permalink
val serialVersionUID -> const val
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhalanskyjb committed May 13, 2024
1 parent 2fd8b02 commit 9fc52b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions core/jvm/src/Instant.kt
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ public actual class Instant internal constructor(
internal actual val MIN: Instant = Instant(jtInstant.MIN)
internal actual val MAX: Instant = Instant(jtInstant.MAX)

@JvmStatic
private val serialVersionUID: Long = 1L
private const val serialVersionUID: Long = 1L
}

private fun writeObject(oStream: java.io.ObjectOutputStream) {
Expand Down
3 changes: 1 addition & 2 deletions core/jvm/src/LocalDate.kt
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ public actual class LocalDate internal constructor(
public actual fun Format(block: DateTimeFormatBuilder.WithDate.() -> Unit): DateTimeFormat<LocalDate> =
LocalDateFormat.build(block)

@JvmStatic
private val serialVersionUID: Long = 1L
private const val serialVersionUID: Long = 1L
}

public actual object Formats {
Expand Down
3 changes: 1 addition & 2 deletions core/jvm/src/LocalDateTime.kt
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ public actual class LocalDateTime internal constructor(
public actual fun Format(builder: DateTimeFormatBuilder.WithDateTime.() -> Unit): DateTimeFormat<LocalDateTime> =
LocalDateTimeFormat.build(builder)

@JvmStatic
private val serialVersionUID: Long = 1L
private const val serialVersionUID: Long = 1L
}

public actual object Formats {
Expand Down
3 changes: 1 addition & 2 deletions core/jvm/src/LocalTime.kt
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ public actual class LocalTime internal constructor(
public actual fun Format(builder: DateTimeFormatBuilder.WithTime.() -> Unit): DateTimeFormat<LocalTime> =
LocalTimeFormat.build(builder)

@JvmStatic
private val serialVersionUID: Long = 1L
private const val serialVersionUID: Long = 1L
}

public actual object Formats {
Expand Down

0 comments on commit 9fc52b6

Please sign in to comment.