Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 4
    What if the other programmer doesnt have your sources? He will not know that your method is deprecated. I would say use annotation @Deprecated Commented Feb 18, 2011 at 9:48
  • 1
    @t-edd: if the other programmer doesn't have either the sources or the javadocs (which displays annotations as well), accidentally using deprecated APIs is the least of this problems. Commented Feb 18, 2011 at 9:58
  • 1
    @ Michael Borgwardt I was just trying to elaborate on what problems could it bring. And this is only one I could come up with. Sometimes you can omit downloading sources and javadoc and use deprecated api which will not be present in next version... Commented Feb 18, 2011 at 10:04