running java using a deprecated function will warn you.
I don't want it to warn me, I want the orginal fixed. One of the major selling points of OO is that you can encapsulate behavior, so DataInputStream.readLine should be fixed instead of moving that functionality somewhere else. You can deprecate methods if you decide the old design was broken, but if it's just the underlieing code that's broken, then you're ignoring one of the big benifits of OO by deprecating it.
----
: () { :|:& };:
Note: All code is untested, unless otherwise stated