As Oracle keep improving Java, there are times when old classes and methods get replaced by newer better versions. The old versions are still there, so existing programs will continue to work, but they are marked as "deprecated" to tell programmers that they should replace or upgrade their code.
If you chose not to update your code, the constant warnings about using deprecated methods get very tedious, so you use the @suppresswarnings(deprecation) annotation to tell the compiler to stop bothering you.
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
stultuske commented: nah, just a company trying to screw with the NSA. can you imagine their analysts going over each and every line of that? :) +14
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
manel1989 commented: 5 +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JeffGrigg commented: Yes. Exactly! +6
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
stultuske commented: the most reliable reply to "no exceptions are thrown" that always seems to fit ... +14
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
<M/> commented: :) +8
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JeffGrigg commented: Yes. And we know why. ;-> +6
JeffGrigg commented: Direct, simple and correct. Thanks! +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
<M/> commented: :) +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
<M/> commented: :) +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster