From 4384bebf158c01b3c62743090209b169c772f319 Mon Sep 17 00:00:00 2001 From: David Francoeur Date: Tue, 19 Dec 2023 16:28:19 -0500 Subject: [PATCH] remove redundant final --- modules/proto/src/smithyproto/Text.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/proto/src/smithyproto/Text.scala b/modules/proto/src/smithyproto/Text.scala index 2616cf5..1c94fe6 100644 --- a/modules/proto/src/smithyproto/Text.scala +++ b/modules/proto/src/smithyproto/Text.scala @@ -22,10 +22,10 @@ import scala.annotation.tailrec */ sealed trait Text object Text { - final case class Line(string: String) extends Text - final case class Many(texts: List[Text]) extends Text - final case class Indent(text: Text) extends Text - final case object NewLine extends Text + case class Line(string: String) extends Text + case class Many(texts: List[Text]) extends Text + case class Indent(text: Text) extends Text + case object NewLine extends Text def line(string: String): Text.Line = Text.Line(string)