mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 06:51:09 +00:00
style: 不要なプライマリコンストラクタを削除
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ import org.jsoup.select.Elements
|
||||
import org.springframework.stereotype.Service
|
||||
|
||||
@Service
|
||||
class DefaultPostContentFormatter() : PostContentFormatter {
|
||||
class DefaultPostContentFormatter : PostContentFormatter {
|
||||
override fun format(content: String): FormattedPostContent {
|
||||
val document =
|
||||
Jsoup.parseBodyFragment(content).getElementsByTag("body").first() ?: return FormattedPostContent("", "")
|
||||
|
||||
Reference in New Issue
Block a user