< prev index next >

src/java.desktop/share/classes/javax/swing/text/html/MinimalHTMLWriter.java

Print this page

        

@@ -700,11 +700,11 @@
         writeEndTag("</span>");
         fontAttributes = null;
     }
 
     /**
-     * Adds the style named <code>style</code> to the style mapping. This
+     * Adds the style named {@code style} to the style mapping. This
      * returns the name that should be used when outputting. CSS does not
      * allow the full Unicode set to be used as a style name.
      */
     private String addStyleName(String style) {
         if (styleNameMapping == null) {

@@ -726,11 +726,11 @@
         styleNameMapping.put(style, mappedName);
         return mappedName;
     }
 
     /**
-     * Returns the mapped style name corresponding to <code>style</code>.
+     * Returns the mapped style name corresponding to {@code style}.
      */
     private String mapStyleName(String style) {
         if (styleNameMapping == null) {
             return style;
         }
< prev index next >