langtools/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
equal
deleted
inserted
replaced
1724 return textBuff.toString(); |
1724 return textBuff.toString(); |
1725 } |
1725 } |
1726 return text; |
1726 return text; |
1727 } |
1727 } |
1728 |
1728 |
1729 static Set<String> blockTags = new HashSet<String>(); |
1729 static final Set<String> blockTags = new HashSet<String>(); |
1730 static { |
1730 static { |
1731 for (HtmlTag t: HtmlTag.values()) { |
1731 for (HtmlTag t: HtmlTag.values()) { |
1732 if (t.blockType == HtmlTag.BlockType.BLOCK) |
1732 if (t.blockType == HtmlTag.BlockType.BLOCK) |
1733 blockTags.add(t.value); |
1733 blockTags.add(t.value); |
1734 } |
1734 } |
1769 result.append(text.substring(startPos)); |
1769 result.append(text.substring(startPos)); |
1770 |
1770 |
1771 return result.toString(); |
1771 return result.toString(); |
1772 } |
1772 } |
1773 |
1773 |
1774 private static final boolean isHtmlTagLetterOrDigit(char ch) { |
1774 private static boolean isHtmlTagLetterOrDigit(char ch) { |
1775 return ('a' <= ch && ch <= 'z') || |
1775 return ('a' <= ch && ch <= 'z') || |
1776 ('A' <= ch && ch <= 'Z') || |
1776 ('A' <= ch && ch <= 'Z') || |
1777 ('1' <= ch && ch <= '6'); |
1777 ('1' <= ch && ch <= '6'); |
1778 } |
1778 } |
1779 |
1779 |