Deprecated warnings within deprecated code

Discussion in 'Java' started by Barney Barumba, Jul 23, 2003.

  1. Eclipse has a really nice option "Signal use of deprecated API within
    deprecated code." Turning this off removes warnings generated within
    deprecated code, and only warns you when you cross the boundary into
    deprecated land.

    Specifically, I've implemented the java.sql.ResultSet interface and
    have had to provide implementations of the deprecated getBigDecimal
    and getUnicodeStream methods. I've tagged these implementations as
    deprecated and never call them from within my code.

    Using the above option in Eclipse removes the warnings for these
    implementation methods unless I call them, but still generates
    warnings for all called deprecated methods.

    Is there any way of replicating this behaviour in the standard 1.4
    compiler (j2sdk1.4.1_01), or does Eclipse just remove the warnings
    itself somehow?

    Thanks
    Barney Barumba, Jul 23, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Craig Kenisston

    HTML code warnings in asp.net html code view

    Craig Kenisston, Oct 7, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    2,075
    Martin Dechev
    Oct 7, 2004
  2. Anton Pervukhin
    Replies:
    5
    Views:
    5,421
    Victor Bazarov
    May 11, 2005
  3. kal stevens
    Replies:
    2
    Views:
    547
    Daniel Dyer
    Jul 12, 2006
  4. Thomas =?ISO-8859-15?Q?G=FCttler?=

    OT: Error Code for Spam-Warnings

    Thomas =?ISO-8859-15?Q?G=FCttler?=, Aug 22, 2003, in forum: Python
    Replies:
    1
    Views:
    357
    John Roth
    Aug 22, 2003
  5. Ted Sung
    Replies:
    1
    Views:
    301
    Sherm Pendley
    Aug 30, 2004
Loading...

Share This Page