geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <jacek.laskow...@hp.com>
Subject Abbreviations in method's names - all capitals?
Date Sun, 23 Nov 2003 23:15:45 GMT
jboynes@apache.org wrote:
> jboynes     2003/11/23 14:39:21
> 
>   Modified:    modules/web/src/java/org/apache/geronimo/web
>                         AbstractWebContainer.java WebDeploymentPlanner.java
>   Log:
>   Make UserTransaction available to webapps
>   
>   Revision  Changes    Path
>   1.21      +16 -5     incubator-geronimo/modules/web/src/java/org/apache/geronimo/web/AbstractWebContainer.java
>   
>   Index: AbstractWebContainer.java
>   ===================================================================
>   RCS file: /home/cvs/incubator-geronimo/modules/web/src/java/org/apache/geronimo/web/AbstractWebContainer.java,v
>   retrieving revision 1.20
>   retrieving revision 1.21
>   diff -u -r1.20 -r1.21
>   --- AbstractWebContainer.java	20 Nov 2003 09:10:17 -0000	1.20
>   +++ AbstractWebContainer.java	23 Nov 2003 22:39:21 -0000	1.21
[snip]
>            URL webDDURL = deploymentHelper.locateJ2eeDD();
[snip]

Hi,

I've just noticed it and wonder what the rules are about methods' names 
  that embody abbreviations like J2EE. I rememeber it's been agreed that 
these ought to be written in capitals. What about the method's names? 
The one above - o.a.g.kernel.deployment.DeploymentHelper.locateJ2eeDD() 
- implies it's not the case as is with classes/intfs.

Also, it's worth to say that 
javax.enterprise.deploy.model.J2eeApplicationObject.java is written in a 
different manner, but that's another story as it's a standard class.

Jacek


Mime
View raw message