From 48a1ea7e83650e3fe47f269de662f739923102ad Mon Sep 17 00:00:00 2001 From: Max Duval Date: Wed, 12 Jun 2024 09:50:42 +0100 Subject: [PATCH] refactor: Nil is the empty list --- common/app/model/PressedPage.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/app/model/PressedPage.scala b/common/app/model/PressedPage.scala index cbbcb1e7e82..c8749128279 100644 --- a/common/app/model/PressedPage.scala +++ b/common/app/model/PressedPage.scala @@ -137,7 +137,7 @@ case class PressedPage( case curatedContent: pressed.CuratedContent => { curatedContent.properties.maybeContent match { case Some(content) => content.metadata.sectionId.map(_.value) ++ content.tags.tags.map(_.id) - case None => List.empty + case None => Nil } } case _ => Nil