< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialFieldWriter.java

Print this page

        

@@ -85,11 +85,14 @@
      * @param isLastContent true if the cotent being documented is the last content.
      * @return a content tree for the header
      */
     public Content getFieldsContentHeader(boolean isLastContent) {
         HtmlTree li = new HtmlTree(HtmlTag.LI);
-        li.setStyle(HtmlStyle.blockList);
+        if (isLastContent)
+            li.setStyle(HtmlStyle.blockListLast);
+        else
+            li.setStyle(HtmlStyle.blockList);
         return li;
     }
 
     /**
      * Add serializable fields.
< prev index next >