mirror of https://github.com/usbharu/Hideout.git
style: 不要なプライマリコンストラクタを削除
This commit is contained in:
parent
d9b1f0dfd7
commit
ea04150501
|
@ -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("", "")
|
||||
|
|
Loading…
Reference in New Issue