From 852b4c439b54d9244bbebe421952defa632ad985 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 4 Nov 2015 17:32:51 +0100 Subject: javadoc link rendering fixes --- src/Languages/JavaLanguageService.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/Languages/JavaLanguageService.kt') diff --git a/src/Languages/JavaLanguageService.kt b/src/Languages/JavaLanguageService.kt index 5750588e..7e40beff 100644 --- a/src/Languages/JavaLanguageService.kt +++ b/src/Languages/JavaLanguageService.kt @@ -10,11 +10,7 @@ public class JavaLanguageService : LanguageService { override fun render(node: DocumentationNode, renderMode: RenderMode): ContentNode { return ContentText(when (node.kind) { Kind.Package -> renderPackage(node) - Kind.Class, - Kind.Interface, - Kind.Enum, - Kind.EnumItem, - Kind.Object -> renderClass(node) + in Kind.classLike -> renderClass(node) Kind.TypeParameter -> renderTypeParameter(node) Kind.Type, -- cgit