+ 3
Java Deprecated
Terminated code/JavaResumeExp.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
5 Réponses
+ 4
By adding @Deprecated at starting In your code we can sole it
+ 4
Kedharnadh ,
@Deprecated annotation won't solve the problem but just hide it. Problem will still be ther, it's juet that compiler won't complain about it.
Othe classes that use your class will show the same warning for using deprecated api.
@SuppressWarnings("deprecated") is more suitable here than @Deprecated.
Read the docs and use the alternative ways to solve problem instead of just hiding the problem.
+ 3
You are using deprecated methods. Read the docs. It mentions reason for deprecation:
https://docs.oracle.com/javase/7/docs/technotes/guides/concurrency/threadPrimitiveDeprecation.html
+ 2
Where is your code? Link it in description.