Add final to case classes

This commit is contained in:
Guntis Smaukstelis
2023-05-16 14:22:48 +03:00
parent 7c004ac41c
commit 236946b20a
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -4,13 +4,13 @@ import java.time.LocalDateTime
import scala.reflect.runtime.universe._
case class WeatherStationData(
final case class WeatherStationData(
city: String,
timestamp: LocalDateTime,
weather: WeatherData,
)
case class WeatherData(
final case class WeatherData(
tempMax: Option[Double],
tempMin: Option[Double],
tempAvg: Option[Double],