~jan0sch/smederee
Showing details for patch 8ca20b985ee6deb709c3c0f6339d3391595c545f.
diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/MarkdownRenderer.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/MarkdownRenderer.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/MarkdownRenderer.scala 2025-01-31 10:45:09.030833031 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/MarkdownRenderer.scala 2025-01-31 10:45:09.034833038 +0000 @@ -110,6 +110,7 @@ override def getNodeTypes(): java.util.Set[Class[? <: Node]] = Set(classOf[Text]).asJava + @SuppressWarnings(Array("scalafix:DisableSyntax.null", "scalafix:DisableSyntax.asInstanceOf")) override def render(node: Node): Unit = { val text = node.asInstanceOf[Text] // We only receive text nodes (see `getNodeTypes`). isToDoItem.findFirstMatchIn(text.getLiteral()) match {