socket timeout patch: formatting changes

Bryce McKinlay bryce@waitaki.otago.ac.nz
Wed Nov 7 11:15:00 GMT 2001


Nic Ferrier wrote:

>Here's a small formatting change diff for the class
>PlainSocketImpl.java.
>
>It would really help me if this was applied to the CVS (I can more
>easily merge my real changes).
>
>
>Note: I've not paid much attention to line breaks, the rest of the
>code doesn't seem to. Are line breaks *such* an issue these days?
>
>
>-  public native void setOption(int optID, Object value) throws SocketException;
>+  public native void setOption (int optID, Object value) throws SocketException;
>


In general we don't follow the space-before-method-call-bracket 
convention for Java code. I know that there is still code in both 
libgcj/classpath which does, but newer source (eg all of java.util) 
typically doesn't.

Like Tom I don't mind reformatting as long as its kept separate from 
code changes, but shouldn't this change be going the other way?

regards

Bryce.




More information about the Java-patches mailing list