From ded94108b225686bc77ec1626798ded06a6db0c1 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Thu, 27 Feb 2020 18:10:57 +0100 Subject: Small cleanup in the model - modifier made not nullable - redundant companions moved out from children lists --- .../main/kotlin/translators/psi/DefaultPsiToDocumentableTranslator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/base/src/main/kotlin/translators/psi/DefaultPsiToDocumentableTranslator.kt b/plugins/base/src/main/kotlin/translators/psi/DefaultPsiToDocumentableTranslator.kt index 4b4cf8db..6b25639f 100644 --- a/plugins/base/src/main/kotlin/translators/psi/DefaultPsiToDocumentableTranslator.kt +++ b/plugins/base/src/main/kotlin/translators/psi/DefaultPsiToDocumentableTranslator.kt @@ -245,7 +245,7 @@ object DefaultPsiToDocumentableTranslator : PsiToDocumentableTranslator { private fun PsiModifierListOwner.getModifier() = when { hasModifier(JvmModifier.ABSTRACT) -> WithAbstraction.Modifier.Abstract hasModifier(JvmModifier.FINAL) -> WithAbstraction.Modifier.Final - else -> null + else -> WithAbstraction.Modifier.Empty } private fun PsiTypeParameterListOwner.mapTypeParameters(dri: DRI): List { -- cgit