This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: java.net.DatagramSocketImplFactory - new class
- From: Tom Tromey <tromey at redhat dot com>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: java-patches at gcc dot gnu dot org
- Date: 28 Aug 2002 13:02:14 -0600
- Subject: Re: java.net.DatagramSocketImplFactory - new class
- References: <E17jvt5-0000qW-00@majestix.konqueror.de>
- Reply-to: tromey at redhat dot com
>>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:
Hi Michael.
Michael> /**
Michael> * This method returns an instance of the DatagramSocketImpl object
Michael> *
Michael> * @return A DatagramSocketImpl object
Michael> */
Michael> DatagramSocketImpl
Michael> createDatagramSocketImpl();
New classes should conform to our indentation style.
So this should be indented like so:
/**
* This method returns an instance of the DatagramSocketImpl object
*
* @return A DatagramSocketImpl object
*/
DatagramSocketImpl createDatagramSocketImpl();
That is, all on one lines, indented two spaces.
(Socket.java is an ok example to look at if you want to see one.)
Other than that this is fine, please check it in.
Thanks again for all your java.net work. Please add yourself to the
THANKS file.
Tom