src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java

changeset 1935
8c55df2442c1
parent 1911
80e75aa6a707
child 2116
bf6b11347b1a
equal deleted inserted replaced
1934:c7dcf899ffff 1935:8c55df2442c1
116 new StringContent(configuration.getText("doclet.Deprecated")))); 116 new StringContent(configuration.getText("doclet.Deprecated"))));
117 result.addContent(RawHtml.nbsp); 117 result.addContent(RawHtml.nbsp);
118 if (deprs.length > 0) { 118 if (deprs.length > 0) {
119 Content body = commentTagsToOutput(null, doc, 119 Content body = commentTagsToOutput(null, doc,
120 deprs[0].inlineTags(), false); 120 deprs[0].inlineTags(), false);
121 result.addContent(HtmlTree.I(body)); 121 result.addContent(HtmlTree.SPAN(HtmlStyle.italic, body));
122 } 122 }
123 } else { 123 } else {
124 if (Util.isDeprecated(member.containingClass())) { 124 if (Util.isDeprecated(member.containingClass())) {
125 result.addContent(HtmlTree.SPAN(HtmlStyle.strong, 125 result.addContent(HtmlTree.SPAN(HtmlStyle.strong,
126 new StringContent(configuration.getText("doclet.Deprecated")))); 126 new StringContent(configuration.getText("doclet.Deprecated"))));

mercurial