Eternal Vigilance: deprecated bit rot
Bill Frantz
frantz@communities.com
Tue, 15 Dec 1998 10:46:46 -0800
At 10:31 PM 12/12/98 -0800, Mark S. Miller wrote:
>So I'd really like to see our 1.1 deprecateds cleaned up before moving to
>Java 2. If you folks (Chip, Bill, Brian) could help, that'd be great, as
>you're much more likely to make the required changes correctly than I am.
>However, if you don't think you'll get around to it, please let me know,
>and I'll do my best and sent it to you for approval. Thanks.
[#] I don't expect to get time for it this year. However, see below.
>
>...
>
>Bill, both of your deprecateds look like a need to wrap with a
>BufferedReader if you want to do a readLine().
>
>
>C:\e\src\jsrc\org\erights\e\net\tunnel\HTTPConnectionHandler.java(91): The
>method java.lang.String readLine() in java.io.DataInputStream has been
>deprecated.
>Warning:
>C:\e\src\jsrc\org\erights\e\net\tunnel\HTTPConnectionHandler.java(93): The
>method java.lang.String readLine() in java.io.DataInputStream has been
>deprecated.
[#] This code has never been tested. I believe I am using readLine()
rather than BufferedReader because readLine uses the standard EOL
convention in the HTTP spec, and BufferedReader uses the platform specific
EOL convention.