src/share/classes/com/sun/tools/doclets/internal/toolkit/util/links/LinkFactory.java

changeset 1737
7a9ef837e57f
parent 1736
74cd21f2c2fe
child 1741
4c43e51433ba
     1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/links/LinkFactory.java	Tue May 14 10:14:52 2013 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/links/LinkFactory.java	Tue May 14 10:14:52 2013 -0700
     1.3 @@ -95,7 +95,9 @@
     1.4                  if ((! linkInfo.excludeTypeParameterLinks) &&
     1.5                          owner instanceof ClassDoc) {
     1.6                      linkInfo.classDoc = (ClassDoc) owner;
     1.7 -                    linkInfo.label = type.typeName();
     1.8 +                    Content label = newContent();
     1.9 +                    label.addContent(type.typeName());
    1.10 +                    linkInfo.label = label;
    1.11                      link.addContent(getClassLink(linkInfo));
    1.12                  } else {
    1.13                      //No need to link method type parameters.

mercurial