From d1d2a6397251dee5c2502a8bd3ff658ef7cec770 Mon Sep 17 00:00:00 2001 From: pierrepetersmeier <155652256+pierrepetersmeier@users.noreply.github.com> Date: Fri, 22 Nov 2024 14:28:55 +0100 Subject: [PATCH] set deprecated correctly --- src/main/scala/edu/ie3/simona/model/thermal/MutableStorage.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/edu/ie3/simona/model/thermal/MutableStorage.scala b/src/main/scala/edu/ie3/simona/model/thermal/MutableStorage.scala index 785c5c4d47..6854883720 100644 --- a/src/main/scala/edu/ie3/simona/model/thermal/MutableStorage.scala +++ b/src/main/scala/edu/ie3/simona/model/thermal/MutableStorage.scala @@ -53,6 +53,7 @@ trait MutableStorage { * @return * lack */ + @deprecated("Use thermal storage state instead") def tryToTakeAndReturnLack( takenEnergy: Energy ): Option[Energy]