Re: Implement interface wizard.
Ole Arndt writes: Andy, Eric, Paul, [EMAIL PROTECTED] writes: I'd like to point out that if a method from an interface has no javadoc, the javadoc program will copy the documentation from the interface itself. Consequently, it might be a reasonable default to generate no javadoc at all in the implement interface wizard, or at least to make it optional. an alternative is to use the [EMAIL PROTECTED] inline tag. A combined solution would look like this: /** * [EMAIL PROTECTED] * * @see package.Class#origMethod */ The @see tag seems redundant to me. Also please note that @inheritDoc will not work for JDK releases earlier than JDK 1.4. So I'd like to offer an alternative proposal: If the JDK version used to generate the skeleton method implementation is earlier than 1.4, generate the skeleton without a comment. Otherwise, generate the skeleton with the following comment: /** * [EMAIL PROTECTED] */ - Paul
RE: Implement interface wizard.
Sounds good to me. -Original Message- From: Paul Kinnucan [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 10:16 AM To: Ole Arndt Cc: jde Subject: Re: Implement interface wizard. Ole Arndt writes: Andy, Eric, Paul, [EMAIL PROTECTED] writes: I'd like to point out that if a method from an interface has no javadoc, the javadoc program will copy the documentation from the interface itself. Consequently, it might be a reasonable default to generate no javadoc at all in the implement interface wizard, or at least to make it optional. an alternative is to use the [EMAIL PROTECTED] inline tag. A combined solution would look like this: /** * [EMAIL PROTECTED] * * @see package.Class#origMethod */ The @see tag seems redundant to me. Also please note that @inheritDoc will not work for JDK releases earlier than JDK 1.4. So I'd like to offer an alternative proposal: If the JDK version used to generate the skeleton method implementation is earlier than 1.4, generate the skeleton without a comment. Otherwise, generate the skeleton with the following comment: /** * [EMAIL PROTECTED] */ - Paul
Re: Implement interface wizard.
Hi, Paul Kinnucan [EMAIL PROTECTED] writes: The @see tag seems redundant to me. Also please note that @inheritDoc will not work for JDK releases earlier than JDK 1.4. So I'd like to offer an alternative proposal: If the JDK version used to generate the skeleton method implementation is earlier than 1.4, generate the skeleton without a comment. Otherwise, generate the skeleton with the following comment: /** * [EMAIL PROTECTED] */ No objections. Ole PS. Sorry Paul for the duplicate mail. As I said to Eric already, this list should have a Reply-To header. -- Ole Arndt http://www.sugarshark.com --- Diplomacy is the art of letting the other party have things your way. -- Daniele Vare
Re: Implement Interface wizard
Hi Javier, I cannot reproduce the unbalanced parentheses problem when using the interface wizard. Furthermore, your fix breaks the usage of the interface wizard in the JDE new class template. You or Rafe should provide an explicit example where the interface wizard fails. Regards, - Paul Javier Lopez [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Here is the fix for both errors. Javier -Original Message- From: Rafe Colburn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 10:01 AM To: [EMAIL PROTECTED] Subject: Implement Interface wizard Is anyone else having trouble getting the Implement Interface wizard to work? In JDE 2.2.7.1, when I run the wizard and there are multiple classes to choose from, the [ok] button is non-functional, so I can't make my selection. In JDE 2.2.8beta6, I get an error when I try to run the wizard that looks like this: Scan error: Unbalanced parentheses, 126, 1 Thanks, Rafe -- rc3.org Daily - http://rc3.org