This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: socket timeout patch: formatting changes


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]