8014557: Mutable static field in HtmlDocletWriter
authorjjg
Tue, 14 May 2013 13:55:35 -0700
changeset 17577 9bc1baa22a83
parent 17576 4a5ff0bc2d02
child 17578 46ac954e4a84
8014557: Mutable static field in HtmlDocletWriter Reviewed-by: ksrini
langtools/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
--- a/langtools/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java	Tue May 14 12:55:15 2013 -0700
+++ b/langtools/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java	Tue May 14 13:55:35 2013 -0700
@@ -1771,7 +1771,7 @@
         return result.toString();
     }
 
-    private static boolean isHtmlTagLetterOrDigit(char ch) {
+    private static final boolean isHtmlTagLetterOrDigit(char ch) {
         return ('a' <= ch && ch <= 'z') ||
                 ('A' <= ch && ch <= 'Z') ||
                 ('1' <= ch && ch <= '6');