langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ClassWriterImpl.java
changeset 41452 ddaef4bba083
parent 40606 eb2c81860c86
child 42816 3638773ff1b0
equal deleted inserted replaced
41451:a847c7aa25a7 41452:ddaef4bba083
   351      */
   351      */
   352     @Override
   352     @Override
   353     public void addClassDescription(Content classInfoTree) {
   353     public void addClassDescription(Content classInfoTree) {
   354         if(!configuration.nocomment) {
   354         if(!configuration.nocomment) {
   355             // generate documentation for the class.
   355             // generate documentation for the class.
   356             if (!utils.getBody(typeElement).isEmpty()) {
   356             if (!utils.getFullBody(typeElement).isEmpty()) {
   357                 addInlineComment(typeElement, classInfoTree);
   357                 addInlineComment(typeElement, classInfoTree);
   358             }
   358             }
   359         }
   359         }
   360     }
   360     }
   361 
   361