Community
Participate
Working Groups
20050522 The option 'check overriding..' in Missing Javadoc comment should disabled by default. The Javadoc tool always inherits Javadoc comments from a overriden method. In fact you can't turn this off, the enforcement that also overriding method should be commented is a question of style that should only be performed on users requests. Important is taht the option should be in sync with the overridding comment template which uses the (non-javadoc comment) style: Currectly you get warnings on code generated by the new type wizard which is not good. When we decide to have 'check overriding..' off by default we will also change the label on the preference page to something like 'Include overridding methods to avoid inherited comments'.
+1
Fixed and released in HEAD. Default for JavaCore constants #COMPILER_PB_MISSING_JAVADOC_TAGS_OVERRIDING and #COMPILER_PB_MISSING_JAVADOC_COMMENTS_OVERRIDING is now "disabled" instead of "enabled". Javadoc comment of JavaCore#getDefaultOptions() method has been updated. [jdt-core internal] Changes done in CompilerOptions. No test case added. To verify manually this fix, just open preference page at Java>Compiler>Javadoc page and reset values to default. Then you should see that "Check overriding and implementing methods" is no longer checked...
Jeem, I put you CC of this bug (a little bit late perhaps...) as it is an API change (change default values)... Let me know if this is OK for you, thx
API change approved
Verified in I20050526-2000