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
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
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]
- 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
> 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
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
> 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();
> }
>
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
> > 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
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
10 matches
Mail list logo