9 Replies Latest reply: May 19, 2010 10:33 PM by EJP RSS

    javadoc bug or missing an option for class extending AbstractTableModel

    843810
      Hi Everybody,

      I am reviewing my javadoc before submission of my SCJD assignment and I noticed
      for my JTable model class HotelRoomTableModel that extends AbstractTableModel
      for all the overwritten methods like getValueAt(), getColumnCount(), getRowCount()
      that implement the TableModel interface where I am using javadoc comments of the form:

      /** 
       * {@inheritDoc} 
       */  
      @Override
      the HTML generated javadoc I see in my browser doesn't show anything
      for these methods other than the name and the signature of the method.

      Is that normal? Or is it a bug? Or perhaps did I miss anything?

      I would hope that it would show something like:

      "Specified by: methodName in interface InterfaceName"

      or

      "Overrides: methodMame in class ClassName".

      My environment:
      [auyantepui]</home/morillo/src/java/scjd/submission>% java -version
      java version "1.6.0_18"
      Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
      Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)
      [auyantepui]</home/morillo/src/java/scjd/submission>% cat /etc/release
                             Solaris 10 5/09 s10s_u7wos_08 SPARC
                 Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                              Use is subject to license terms.
                                   Assembled 30 March 2009
      [auyantepui]</home/morillo/src/java/scjd/submission>% uname -a
      SunOS auyantepui 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000
      [auyantepui]</home/morillo/src/java/scjd/submission>%
      Any ideas?

      Thanks,

      Carlos.