Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use of {@inheritDoc}

 
Torsten Wiederkehr
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I use {@inheritDoc} instead of @see, but I get the following waring for classes which implement an interface and this interface extends another interface before.

IDataBaseAccess
|
|
IDataBaseAccessRemote
|
|
DataBaseAccessRMI

DataBaseAccessRMI.java:132: warning - @inheritDoc used but delete(int) does not override or implement any method.

Should I stick to the {@inheritDoc} tag or should I use the @see tag here, to avoid the warning.


ciao torsten
 
Klaas van Gelder
Ranch Hand
Posts: 111
Java Linux PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I've had the same problem. This occors when the actual javadoc is defined in a super-interface of the implemented interface. Then it is not properly inherited.
This is a bug in Javadoc. It should work from java 1.4.2, I used 1.4.1_03 before and also got this problem. Upgrading to 1.4.2 resolved it.

Regards, Klaas
[ October 16, 2004: Message edited by: Klaas van Gelder ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic