mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
assertion: Language constructor must be non-public to avoid creating Language duplicates + test
GitOrigin-RevId: eb6954f444bf64bbc1d47b419af5e4db6fadf07e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d7d8c7af81
commit
ddf9b3da94
@@ -9,7 +9,7 @@ import com.intellij.psi.impl.source.xml.XmlFileImpl
|
||||
import com.intellij.psi.tree.IFileElementType
|
||||
import org.jetbrains.annotations.NotNull
|
||||
|
||||
class SvgLanguage : XMLLanguage(XMLLanguage.INSTANCE, "SVG", "image/svg+xml") {
|
||||
class SvgLanguage private constructor(): XMLLanguage(XMLLanguage.INSTANCE, "SVG", "image/svg+xml") {
|
||||
companion object {
|
||||
@JvmField
|
||||
val INSTANCE = SvgLanguage()
|
||||
|
||||
Reference in New Issue
Block a user