How do you deprecate a method?

2003-11-20 Thread Gurpreet Dhanoa
hi ALl


Sorry for posting this question here, but it will be highly appreciated if
anyone can explain

Ques: CAn anyone tell me how to depreciate a method in Java



Regards
Gary



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How do you deprecate a method?

2003-11-20 Thread Larry Meadors
For the love of all that is good in the universe people!

Repeat after me: "GOOGLE IS MY FRIEND."

http://www.google.com/search?q=java+deprecate+method

Larry

>>> [EMAIL PROTECTED] 11/20/03 4:02 AM >>>
hi ALl


Sorry for posting this question here, but it will be highly appreciated
if
anyone can explain

Ques: CAn anyone tell me how to depreciate a method in Java



Regards
Gary



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] How do you deprecate a method?

2003-11-20 Thread Thomas Cornet
By adding a special tag in the method's javadoc. Example

/*
 * Function to deprecate
 *
 * @deprecated
 */
public void foo()
{ ... }
Thus, the method foo will appear as deprecated in generated javadoc.
For other tags 
: 
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/javadoc.html#javadoctags

Thomas

At 12:02 20/11/2003, you wrote:
hi ALl

Sorry for posting this question here, but it will be highly appreciated if
anyone can explain
Ques: CAn anyone tell me how to depreciate a method in Java



Regards
Gary


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] How do you deprecate a method?

2003-11-20 Thread Gurpreet Dhanoa
Thanks alot Thomas


- Original Message -
From: "Thomas Cornet" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 20, 2003 4:55 PM
Subject: Re: [OT] How do you deprecate a method?


>
> By adding a special tag in the method's javadoc. Example
>
> /*
>   * Function to deprecate
>   *
>   * @deprecated
>   */
> public void foo()
> { ... }
>
> Thus, the method foo will appear as deprecated in generated javadoc.
> For other tags
> :
>
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/javadoc.html#javadoctag
s
>
> Thomas
>
> At 12:02 20/11/2003, you wrote:
> >hi ALl
> >
> >
> >Sorry for posting this question here, but it will be highly appreciated
if
> >anyone can explain
> >
> >Ques: CAn anyone tell me how to depreciate a method in Java
> >
> >
> >
> >Regards
> >Gary
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]