Re: Coding style

2003-03-03 Thread Martin Cooper
See Guideline #21 here: http://jakarta.apache.org/commons/charter.html -- Martin Cooper "Quinton McCombs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Is there a commons coding style for commons or does it v

Re: Coding style

2003-03-03 Thread Morgan Delagrange
It varies by component. A component's documentation should state its coding style requirements; otherwise the default is the Sun recommendation. - Morgan --- Quinton McCombs <[EMAIL PROTECTED]> wrote: > Is there a commons coding style for commons or does > it va

Coding style

2003-03-03 Thread Quinton McCombs
Is there a commons coding style for commons or does it vary by component? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Latka] Developer's Guide / Coding Style

2002-03-25 Thread Morgan Delagrange
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 25, 2002 1:29 AM Subject: RE: [Latka] Developer's Guide / Coding Style > Hello Lev, > > > I would say "_" style is very common. > > C++ leader Rogu

RE: [Latka] Developer's Guide / Coding Style

2002-03-22 Thread ringo . desmet
> public void close() throws SQLException { >_sourcePool.returnObject(this); > } The public close method is well-defined by the Connection interface, so no problem here. > private void _close() throws SQLException { >_delegate.close(); > } This method is a bit d

RE: [Latka] Developer's Guide / Coding Style

2002-03-22 Thread Waldhoff, Rodney
ction (e.g., add "if(null == _sourcePool) { _close(); }" to close()). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 10:15 AM To: [EMAIL PROTECTED] Subject: RE: [Latka] Developer's Guide / Coding Style > Here's an

RE: [Latka] Developer's Guide / Coding Style

2002-03-22 Thread ringo . desmet
> Here's an example of what I'm talking about: > > public class PooledConnection extends Connection { > public PooledConnection(Connection delegate) { > _delegate = delagate; > } > > public void someMethod() throws SQLException { > _delegate.someMethod(); > } >

RE: [Latka] Developer's Guide / Coding Style

2002-03-22 Thread Waldhoff, Rodney
ntional, and I don't think anyone has really ever claimed it to be so. (But the Latka coding style doc does.) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 9:52 AM To: [EMAIL PROTECTED] Subject: RE: [Latka] Developer's Guide / Co

RE: [Latka] Developer's Guide / Coding Style

2002-03-22 Thread ringo . desmet
> > private methods also begin with an underscore > > I think I've been known to do this on rare occasions (mainly > when there is > some public method and protected/private method with an > otherwise identical > signature) but I wouldn't claim it to be "conventional" in > any sense of the

[Latka] Developer's Guide / Coding Style

2002-03-22 Thread Waldhoff, Rodney
At http://jakarta.apache.org/commons/latka/developers-guide.html, dion (I assume) wrote: > Latka has some unusual coding conventions, which > I'm trying to capture at the moment using a tool, > CheckStyle. Since I'm not quite sure what all the > conventions are myself, nothing is really > auth