From 8a45c7acf6b04206305857252172c1ab0b27521e Mon Sep 17 00:00:00 2001 From: Daniel Tavares Agostinho Date: Thu, 27 Jun 2024 11:08:27 +0200 Subject: [PATCH] scalafmt --- .../scala/ch/epfl/pop/model/network/ResultObject.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/be2-scala/src/main/scala/ch/epfl/pop/model/network/ResultObject.scala b/be2-scala/src/main/scala/ch/epfl/pop/model/network/ResultObject.scala index e9ee0cd709..0de5bcf598 100644 --- a/be2-scala/src/main/scala/ch/epfl/pop/model/network/ResultObject.scala +++ b/be2-scala/src/main/scala/ch/epfl/pop/model/network/ResultObject.scala @@ -62,10 +62,10 @@ class ResultObject(val result: Option[ResultType]) { override def toString: String = { result.get match - case ResultInt(result) => result.toString + case ResultInt(result) => result.toString case ResultMessage(result) => result.toString() - case ResultMap(result) => result.toString() - case ResultRumor(result) => result.toString() - case ResultEmptyList() => List.empty.toString() + case ResultMap(result) => result.toString() + case ResultRumor(result) => result.toString() + case ResultEmptyList() => List.empty.toString() } }