Skip to content

Commit

Permalink
Remove unused tags array
Browse files Browse the repository at this point in the history
  • Loading branch information
valencik committed Nov 28, 2024
1 parent 12a2f95 commit 56a98bc
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ case class FragmentFormatter(
endTag: String,
) {
private val tagSize = startTag.size + endTag.size
private val tags: Array[String] = Array(startTag, endTag)

def format(fragment: String, offsets: Iterable[Int]): String =
if (offsets.size == 0) fragment
Expand Down

0 comments on commit 56a98bc

Please sign in to comment.