in reply to Re: use deprecated; (Eiffel's obsolete)
in thread use deprecated;

Yeah, I've long thought Java should have such a keyword; they have every other possible method flag you could possibly want.

--
[ e d @ h a l l e y . c c ]

  • Comment on Re: Re: use deprecated; (Eiffel's obsolete)

Replies are listed 'Best First'.
Re: Re: Re: use deprecated; (Eiffel's obsolete)
by revdiablo (Prior) on Nov 26, 2003 at 17:31 UTC

    Java does have a mechanism for depracating code. You can add a marker in the JavaDoc, and the compiler will warn you whenever it encounters a use of such a method. It's kind of hack-rific that they made the compiler parse the comments to do something like this, but it's there.