Name: krC82822 Date: 06/14/2001
orig synopsis: "Inconsistent name: NetworkInterface.getByAddr()"
http://java.sun.com/j2se/1.4/docs/api/java/net/NetworkInterface.html
The name NetworkInterface.getByAddr() is:
a) Inconsistent with other classes (and NetworkInterface itself):
NetworkInterface.getInetAddr*ess*es()
InetAddress.getHostAddr*ess*()
InetAddress.getAddr*ess*()
DatagramPacket.setAddr*ess*(InetAddress)
etc...
b) Ugly ("Addr" is an unacceptable abbreviation because it is hard to
pronounce, and not in common (verbal) usage).
Please rename NetworkInterface.getByAddr()
to NetworkInterface.getByAddress()
----------------
14 June 2001, eval1127@eng -- actually, InetAddress also has
a "getByAddr()" method.
The historical reference is (to) the C equivalent, getbyaddr():
(Review ID: 126596)
======================================================================