1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java Fri Dec 05 21:59:59 2008 -0800 1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java Thu Jan 08 16:26:59 2009 -0800 1.3 @@ -83,11 +83,11 @@ 1.4 * @param where Position of the link in the file. Character '#' is not 1.5 * needed. 1.6 * @param label Tag for the link. 1.7 - * @param bold Boolean that sets label to bold. 1.8 + * @param strong Boolean that sets label to strong. 1.9 */ 1.10 public void printHyperLink(String link, String where, 1.11 - String label, boolean bold) { 1.12 - print(getHyperLink(link, where, label, bold, "", "", "")); 1.13 + String label, boolean strong) { 1.14 + print(getHyperLink(link, where, label, strong, "", "", "")); 1.15 } 1.16 1.17 /** 1.18 @@ -109,13 +109,13 @@ 1.19 * @param where Position of the link in the file. Character '#' is not 1.20 * needed. 1.21 * @param label Tag for the link. 1.22 - * @param bold Boolean that sets label to bold. 1.23 + * @param strong Boolean that sets label to strong. 1.24 * @param stylename String style of text defined in style sheet. 1.25 */ 1.26 public void printHyperLink(String link, String where, 1.27 - String label, boolean bold, 1.28 + String label, boolean strong, 1.29 String stylename) { 1.30 - print(getHyperLink(link, where, label, bold, stylename, "", "")); 1.31 + print(getHyperLink(link, where, label, strong, stylename, "", "")); 1.32 } 1.33 1.34 /** 1.35 @@ -125,12 +125,12 @@ 1.36 * @param where Position of the link in the file. Character '#' is not 1.37 * needed. 1.38 * @param label Tag for the link. 1.39 - * @param bold Boolean that sets label to bold. 1.40 + * @param strong Boolean that sets label to strong. 1.41 * @return String Hyper Link. 1.42 */ 1.43 public String getHyperLink(String link, String where, 1.44 - String label, boolean bold) { 1.45 - return getHyperLink(link, where, label, bold, "", "", ""); 1.46 + String label, boolean strong) { 1.47 + return getHyperLink(link, where, label, strong, "", "", ""); 1.48 } 1.49 1.50 /** 1.51 @@ -140,14 +140,14 @@ 1.52 * @param where Position of the link in the file. Character '#' is not 1.53 * needed. 1.54 * @param label Tag for the link. 1.55 - * @param bold Boolean that sets label to bold. 1.56 + * @param strong Boolean that sets label to strong. 1.57 * @param stylename String style of text defined in style sheet. 1.58 * @return String Hyper Link. 1.59 */ 1.60 public String getHyperLink(String link, String where, 1.61 - String label, boolean bold, 1.62 + String label, boolean strong, 1.63 String stylename) { 1.64 - return getHyperLink(link, where, label, bold, stylename, "", ""); 1.65 + return getHyperLink(link, where, label, strong, stylename, "", ""); 1.66 } 1.67 1.68 /** 1.69 @@ -157,14 +157,14 @@ 1.70 * @param where Position of the link in the file. Character '#' is not 1.71 * needed. 1.72 * @param label Tag for the link. 1.73 - * @param bold Boolean that sets label to bold. 1.74 + * @param strong Boolean that sets label to strong. 1.75 * @param stylename String style of text defined in style sheet. 1.76 * @param title String that describes the link's content for accessibility. 1.77 * @param target Target frame. 1.78 * @return String Hyper Link. 1.79 */ 1.80 public String getHyperLink(String link, String where, 1.81 - String label, boolean bold, 1.82 + String label, boolean strong, 1.83 String stylename, String title, String target) { 1.84 StringBuffer retlink = new StringBuffer(); 1.85 retlink.append("<A HREF=\""); 1.86 @@ -186,12 +186,12 @@ 1.87 retlink.append(stylename); 1.88 retlink.append("\">"); 1.89 } 1.90 - if (bold) { 1.91 - retlink.append("<B>"); 1.92 + if (strong) { 1.93 + retlink.append("<STRONG>"); 1.94 } 1.95 retlink.append(label); 1.96 - if (bold) { 1.97 - retlink.append("</B>"); 1.98 + if (strong) { 1.99 + retlink.append("</STRONG>"); 1.100 } 1.101 if (stylename != null && stylename.length() != 0) { 1.102 retlink.append("</FONT>");