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.SPAN(HtmlStyle.italic, body)); |
121 if (!body.isEmpty()) |
|
122 result.addContent(HtmlTree.SPAN(HtmlStyle.italic, body)); |
122 } |
123 } |
123 } else { |
124 } else { |
124 if (Util.isDeprecated(member.containingClass())) { |
125 if (Util.isDeprecated(member.containingClass())) { |
125 result.addContent(HtmlTree.SPAN(HtmlStyle.strong, |
126 result.addContent(HtmlTree.SPAN(HtmlStyle.strong, |
126 new StringContent(configuration.getText("doclet.Deprecated")))); |
127 new StringContent(configuration.getText("doclet.Deprecated")))); |