changeset 1753:0384683c64be

8014557: Mutable static field in HtmlDocletWriter Reviewed-by: ksrini
author jjg
date Tue, 14 May 2013 13:55:35 -0700
parents 46b9c25f7024
children ddb4a2bfcd82
files src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java	Tue May 14 12:55:15 2013 -0700
+++ b/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');