• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deprecated methods in FBN project

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Hi,
For the Fly By Night project we have two depricated methods. Do we need to replace with the current methods??? Without replacing the program is not compiling.
Suggestions???
Thanks,
Rajini
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The program IS compiling with those deprecated methods but it gives You warning. Sun tells You that You must replace those methods with the ones of Your choice. However You have to justify Your choice.
 
ST
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You just need to look at the deprecated API in the documentation. You will also find the suggested replacement for the deprecated APIs in the documenation. Yes it does compile. If you want more information use
java -deprecated Data.java
Hope this helps . . .
Best Regards,
ST
 
ST
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops, it is actually
javac -deprecation Data.java
Thx,
ST
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic