[jboss-cvs] JBossAS SVN: r110254 - in projects/jboss-jca/trunk: doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jan 3 23:15:40 EST 2011


Author: jeff.zhang
Date: 2011-01-03 23:15:38 -0500 (Mon, 03 Jan 2011)
New Revision: 110254

Modified:
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/AbstractCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ActivationCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CciConnCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CciConnFactoryCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CfCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CfInterfaceCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ConnImplCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ConnInterfaceCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MbeanImplCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MbeanInterfaceCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McMetaCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McfCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MlCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/PropsCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/RaCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/RaMetaCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/TestCodeGen.java
   projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnection.java
   projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionFactory.java
   projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionFactoryImpl.java
   projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionImpl.java
   projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionManager.java
   projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnection.java
   projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnectionFactory.java
   projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnectionMetaData.java
   projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldResourceAdapter.java
Log:
remove multi blank space and uppercase in the generated comment

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/AbstractCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/AbstractCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/AbstractCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -180,7 +180,7 @@
       out.write(" * Returns a hash code value for the object.");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return a hash code value for this object.");
+      out.write(" * @return A hash code value for this object.");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -216,10 +216,10 @@
       out.write(" * Indicates whether some other object is equal to this one.");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   other   the reference object with which to compare.");
+      out.write(" * @param other The reference object with which to compare.");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return true if this object is the same as the obj argument; false otherwise.");
+      out.write(" * @return true If this object is the same as the obj argument, false otherwise.");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ActivationCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ActivationCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ActivationCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -59,7 +59,7 @@
       writeEol(out);
       
       writeIndent(out, indent);
-      out.write("/** activation spec */");
+      out.write("/** Activation spec */");
       writeEol(out);
       writeIndent(out, indent);
       out.write("private " + def.getAsClass() + " spec;");
@@ -78,7 +78,7 @@
       out.write("/**");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * default constructor");
+      out.write(" * Default constructor");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @exception ResourceException Thrown if an error occurs");
@@ -99,7 +99,7 @@
       out.write("/**");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * constructor");
+      out.write(" * Constructor");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @param ra " + def.getRaClass());
@@ -192,10 +192,10 @@
       out.write("/**");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * get activation spec class");
+      out.write(" * Get activation spec class");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return activation spec");
+      out.write(" * @return Activation spec");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -224,10 +224,10 @@
       out.write("/**");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * get message endpoint factory");
+      out.write(" * Get message endpoint factory");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return message endpoint factory");
+      out.write(" * @return Message endpoint factory");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CciConnCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CciConnCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CciConnCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -55,10 +55,10 @@
       out.write("/**");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * default constructor");
+      out.write(" * Default constructor");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   connSpec ConnectionSpec");
+      out.write(" * @param connSpec ConnectionSpec");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -140,7 +140,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws  ResourceException  Exception thrown if close on a connection handle fails.");
+      out.write(" * @throws ResourceException Exception thrown if close on a connection handle fails.");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -176,10 +176,10 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return  Interaction instance");
+      out.write(" * @return Interaction instance");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws  ResourceException     Failed to create an Interaction");
+      out.write(" * @throws ResourceException Failed to create an Interaction");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -220,13 +220,13 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   LocalTransaction instance");
+      out.write(" * @return LocalTransaction instance");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws   ResourceException   Failed to return a LocalTransaction");
+      out.write(" * @throws ResourceException Failed to return a LocalTransaction");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws   javax.resource.NotSupportedException Demarcation of Resource manager ");
+      out.write(" * @throws javax.resource.NotSupportedException Demarcation of Resource manager ");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -264,10 +264,10 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   ConnectionMetaData instance representing information about the EIS instance");
+      out.write(" * @return ConnectionMetaData instance representing information about the EIS instance");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws  ResourceException Failed to get information about the connected EIS instance. ");
+      out.write(" * @throws ResourceException Failed to get information about the connected EIS instance. ");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -309,13 +309,13 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   ResultSetInfo instance");
+      out.write(" * @return ResultSetInfo instance");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws   ResourceException Failed to get ResultSet related information");
+      out.write(" * @throws ResourceException Failed to get ResultSet related information");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws   javax.resource.NotSupportedException ResultSet functionality is not supported");
+      out.write(" * @throws javax.resource.NotSupportedException ResultSet functionality is not supported");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CciConnFactoryCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CciConnFactoryCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CciConnFactoryCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -60,10 +60,10 @@
       out.write("/**");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * default constructor");
+      out.write(" * Default constructor");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   cxManager ConnectionManager");
+      out.write(" * @param cxManager ConnectionManager");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -149,7 +149,7 @@
       out.write(" * @return Connection instance the EIS instance.");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws ResourceException   Failed to get a connection to");
+      out.write(" * @throws ResourceException Failed to get a connection to");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -177,14 +177,14 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param  connSpec Connection parameters and security information specified as " +
+      out.write(" * @param connSpec Connection parameters and security information specified as " +
          "ConnectionSpec instance");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @return Connection instance the EIS instance.");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws ResourceException   Failed to get a connection to");
+      out.write(" * @throws ResourceException Failed to get a connection to");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -266,10 +266,10 @@
       out.write(" * @return RecordFactory instance");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws   ResourceException   Failed to create a RecordFactory");
+      out.write(" * @throws ResourceException Failed to create a RecordFactory");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws   javax.resource.NotSupportedException Operation not supported");
+      out.write(" * @throws javax.resource.NotSupportedException Operation not supported");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -334,7 +334,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   reference  A Reference instance");
+      out.write(" * @param reference A Reference instance");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CfCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CfCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CfCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -49,7 +49,7 @@
       int indent = 1;
       
       writeIndent(out, indent);
-      out.write("/** reference */");
+      out.write("/** Reference */");
       writeEol(out);
       writeIndent(out, indent);
       out.write("private Reference reference;");
@@ -63,7 +63,7 @@
       out.write("/**");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * default constructor");
+      out.write(" * Default constructor");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @param cxManager ConnectionManager");
@@ -131,7 +131,7 @@
       out.write("/** ");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * get connection from factory");
+      out.write(" * Get connection from factory");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" *");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CfInterfaceCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CfInterfaceCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/CfInterfaceCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -98,7 +98,7 @@
       out.write("/** ");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * get connection from factory");
+      out.write(" * Get connection from factory");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" *");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ConnImplCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ConnImplCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ConnImplCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -185,7 +185,7 @@
          out.write("/**");
          writeEol(out);
          writeIndent(out, indent);
-         out.write(" * call me");
+         out.write(" * Call me");
          writeEol(out);
          writeIndent(out, indent);
          out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ConnInterfaceCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ConnInterfaceCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/ConnInterfaceCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -122,7 +122,7 @@
          out.write("/**");
          writeEol(out);
          writeIndent(out, indent);
-         out.write(" * call me");
+         out.write(" * Call me");
          writeEol(out);
          writeIndent(out, indent);
          out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MbeanImplCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MbeanImplCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MbeanImplCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -68,7 +68,7 @@
                out.write("/**");
                writeEol(out);
                writeIndent(out, indent);
-               out.write(" * call " + method.getMethodName());
+               out.write(" * Call " + method.getMethodName());
                writeEol(out);
                for (MethodParam param : method.getParams())
                {
@@ -132,7 +132,7 @@
          out.write("/**");
          writeEol(out);
          writeIndent(out, indent);
-         out.write(" * call me");
+         out.write(" * Call me");
          writeEol(out);
          writeIndent(out, indent);
          out.write(" */");
@@ -153,7 +153,7 @@
       out.write("/**");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * getConnection");
+      out.write(" * GetConnection");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @return " + def.getConnInterfaceClass());

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MbeanInterfaceCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MbeanInterfaceCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MbeanInterfaceCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -107,7 +107,7 @@
          out.write("/**");
          writeEol(out);
          writeIndent(out, indent);
-         out.write(" * call me");
+         out.write(" * Call me");
          writeEol(out);
          writeIndent(out, indent);
          out.write(" * @throws Exception exception");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -140,7 +140,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param subject security context as JAAS subject");
+      out.write(" * @param subject Security context as JAAS subject");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @param cxRequestInfo ConnectionRequestInfo instance");
@@ -278,7 +278,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param listener a new ConnectionEventListener to be registered");
+      out.write(" * @param listener A new ConnectionEventListener to be registered");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McMetaCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McMetaCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McMetaCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -218,7 +218,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return  name of the user");
+      out.write(" * @return Name of the user");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @throws ResourceException Thrown if an error occurs");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McfCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McfCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/McfCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -230,15 +230,15 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param    cxManager    ConnectionManager to be " + 
+      out.write(" * @param cxManager ConnectionManager to be " + 
          "associated with created EIS connection factory instance");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   EIS-specific Connection Factory instance or " +
+      out.write(" * @return EIS-specific Connection Factory instance or " +
          "javax.resource.cci.ConnectionFactory instance");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws   ResourceException Generic exception");
+      out.write(" * @throws ResourceException Generic exception");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -273,11 +273,11 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   EIS-specific Connection Factory instance or " +
+      out.write(" * @return EIS-specific Connection Factory instance or " +
          "javax.resource.cci.ConnectionFactory instance");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws   ResourceException Generic exception");
+      out.write(" * @throws ResourceException Generic exception");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -337,17 +337,17 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   subject        Caller's security information");
+      out.write(" * @param subject Caller's security information");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   cxRequestInfo  Additional resource adapter " +
+      out.write(" * @param cxRequestInfo Additional resource adapter " +
          "specific connection request information");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws  ResourceException     generic exception");
+      out.write(" * @throws ResourceException generic exception");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return  ManagedConnection instance ");
+      out.write(" * @return ManagedConnection instance ");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -381,20 +381,20 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   connectionSet   candidate connection set");
+      out.write(" * @param connectionSet Candidate connection set");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   subject        Caller's security information");
+      out.write(" * @param subject Caller's security information");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   cxRequestInfo  Additional resource adapter " +
+      out.write(" * @param cxRequestInfo Additional resource adapter " +
          "specific connection request information");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws  ResourceException     generic exception");
+      out.write(" * @throws ResourceException generic exception");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return  ManagedConnection if resource adapter finds an acceptable match otherwise null ");
+      out.write(" * @return ManagedConnection if resource adapter finds an acceptable match otherwise null ");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -437,10 +437,10 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return  PrintWriter");
+      out.write(" * @return PrintWriter");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws  ResourceException     generic exception");
+      out.write(" * @throws ResourceException generic exception");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -467,10 +467,10 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   out PrintWriter - an out stream for error logging and tracing");
+      out.write(" * @param out PrintWriter - an out stream for error logging and tracing");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @throws  ResourceException     generic exception");
+      out.write(" * @throws ResourceException generic exception");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MlCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MlCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/MlCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -51,7 +51,7 @@
       out.write("/**");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * receive message");
+      out.write(" * Receive message");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @param msg String.");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/PropsCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/PropsCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/PropsCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -79,7 +79,7 @@
          out.write("/** ");
          writeEol(out);
          writeIndent(out, indent);
-         out.write(" * set " + name);
+         out.write(" * Set " + name);
          writeEol(out);
          writeIndent(out, indent);
          out.write(" * @param " + name + " The value");
@@ -107,7 +107,7 @@
          out.write("/** ");
          writeEol(out);
          writeIndent(out, indent);
-         out.write(" * get " + name);
+         out.write(" * Get " + name);
          writeEol(out);
          writeIndent(out, indent);
          out.write(" * @return The value");
@@ -146,7 +146,7 @@
       out.write(" * Returns a hash code value for the object.");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return a hash code value for this object.");
+      out.write(" * @return A hash code value for this object.");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -201,10 +201,10 @@
       out.write(" * Indicates whether some other object is equal to this one.");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param   other   the reference object with which to compare.");
+      out.write(" * @param other The reference object with which to compare.");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return true if this object is the same as the obj argument; false otherwise.");
+      out.write(" * @return true if this object is the same as the obj argument, false otherwise.");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/RaCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/RaCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/RaCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -132,7 +132,7 @@
       out.write("/**");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * default constructor");
+      out.write(" * Default constructor");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -272,13 +272,13 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param specs an array of ActivationSpec JavaBeans ");
+      out.write(" * @param specs An array of ActivationSpec JavaBeans ");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @throws ResourceException generic exception ");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return an array of XAResource objects");
+      out.write(" * @return An array of XAResource objects");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -318,7 +318,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param ctx a bootstrap context containing references ");
+      out.write(" * @param ctx A bootstrap context containing references ");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @throws ResourceAdapterInternalException indicates bootstrap failure.");
@@ -379,10 +379,10 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param endpointFactory a message endpoint factory instance.");
+      out.write(" * @param endpointFactory A message endpoint factory instance.");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param spec an activation spec JavaBean instance.");
+      out.write(" * @param spec An activation spec JavaBean instance.");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" * @throws ResourceException generic exception ");
@@ -428,10 +428,10 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param endpointFactory a message endpoint factory instance.");
+      out.write(" * @param endpointFactory A message endpoint factory instance.");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @param spec an activation spec JavaBean instance.");
+      out.write(" * @param spec An activation spec JavaBean instance.");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/RaMetaCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/RaMetaCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/RaMetaCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -103,7 +103,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   String representing version of the resource adapter");
+      out.write(" * @return String representing version of the resource adapter");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -130,7 +130,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   String representing name of the vendor ");
+      out.write(" * @return String representing name of the vendor ");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -157,7 +157,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   String representing the name of the resource adapter");
+      out.write(" * @return String representing the name of the resource adapter");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -184,7 +184,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   String describing the resource adapter");
+      out.write(" * @return String describing the resource adapter");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -211,7 +211,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   String representing the supported version of the connector architecture");
+      out.write(" * @return String representing the supported version of the connector architecture");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -275,7 +275,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   boolean depending on method support");
+      out.write(" * @return boolean Depending on method support");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -302,7 +302,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   boolean depending on method support");
+      out.write(" * @return boolean Depending on method support");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");
@@ -329,7 +329,7 @@
       out.write(" *");
       writeEol(out);
       writeIndent(out, indent);
-      out.write(" * @return   true if resource adapter supports resource manager local transaction demarcation ");
+      out.write(" * @return true If resource adapter supports resource manager local transaction demarcation ");
       writeEol(out);
       writeIndent(out, indent);
       out.write(" */");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/TestCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/TestCodeGen.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/code/TestCodeGen.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -219,7 +219,7 @@
    private void writeResource(Definition def, Writer out, int indent) throws IOException
    {
       writeIndent(out, indent);
-      out.write("/** resource */");
+      out.write("/** Resource */");
       writeEol(out);
       writeIndent(out, indent);
       out.write("@Resource(mappedName = \"java:/eis/" + getClassName(def) + "\")");

Modified: projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnection.java
===================================================================
--- projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnection.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnection.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -29,14 +29,14 @@
 public interface HelloWorldConnection
 {
    /**
-    * helloWorld
+    * HelloWorld
     * @return String
     */
    public String helloWorld();
 
    /**
-    * helloWorld
-    * @param name name
+    * HelloWorld
+    * @param name A name
     * @return String
     */
    public String helloWorld(String name);

Modified: projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionFactory.java
===================================================================
--- projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionFactory.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionFactory.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -34,7 +34,7 @@
 public interface HelloWorldConnectionFactory extends Serializable, Referenceable
 {
    /** 
-    * get connection from factory
+    * Get connection from factory
     *
     * @return HelloWorldConnection instance
     * @exception ResourceException Thrown if a connection can't be obtained

Modified: projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionFactoryImpl.java
===================================================================
--- projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionFactoryImpl.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionFactoryImpl.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -43,7 +43,7 @@
    private ConnectionManager connectionManager;
 
    /**
-    * default constructor
+    * Default constructor
     * @param mcf ManagedConnectionFactory
     * @param cxManager ConnectionManager
     */
@@ -55,7 +55,7 @@
    }
 
    /** 
-    * get connection from factory
+    * Get connection from factory
     *
     * @return HelloWorldConnection instance
     * @exception ResourceException Thrown if a connection can't be obtained

Modified: projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionImpl.java
===================================================================
--- projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionImpl.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionImpl.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -37,7 +37,7 @@
    private HelloWorldManagedConnectionFactory mcf;
 
    /**
-    * default constructor
+    * Default constructor
     * @param mcf HelloWorldManagedConnectionFactory
     */
    public HelloWorldConnectionImpl(HelloWorldManagedConnectionFactory mcf)
@@ -46,7 +46,7 @@
    }
 
    /**
-    * call helloWorld
+    * Call helloWorld
     * @return String helloworld
     */
    public String helloWorld()
@@ -55,7 +55,7 @@
    }
 
    /**
-    * call helloWorld
+    * Call helloWorld
     * @param name String name
     * @return String helloworld
     */

Modified: projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionManager.java
===================================================================
--- projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionManager.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldConnectionManager.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -37,7 +37,7 @@
    private static final long serialVersionUID = 1L;
 
    /**
-    * default constructor
+    * Default constructor
     */
    public HelloWorldConnectionManager()
    {

Modified: projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnection.java
===================================================================
--- projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnection.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnection.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -75,7 +75,7 @@
     * Creates a new connection handle for the underlying physical connection 
     * represented by the ManagedConnection instance. 
     *
-    * @param subject security context as JAAS subject
+    * @param subject Security context as JAAS subject
     * @param cxRequestInfo ConnectionRequestInfo instance
     * @return generic Object instance representing the connection handle. 
     * @throws ResourceException generic exception if operation fails
@@ -124,7 +124,7 @@
    /**
     * Adds a connection event listener to the ManagedConnection instance.
     *
-    * @param listener a new ConnectionEventListener to be registered
+    * @param listener A new ConnectionEventListener to be registered
     */
    public void addConnectionEventListener(ConnectionEventListener listener)
    {
@@ -138,7 +138,7 @@
     * Removes an already registered connection event listener 
     * from the ManagedConnection instance.
     *
-    * @param listener already registered connection event listener to be removed
+    * @param listener Already registered connection event listener to be removed
     */
    public void removeConnectionEventListener(ConnectionEventListener listener)
    {

Modified: projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnectionFactory.java
===================================================================
--- projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnectionFactory.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnectionFactory.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -62,7 +62,7 @@
    private PrintWriter logwriter;
 
    /**
-    * default constructor
+    * Default constructor
     */
    public HelloWorldManagedConnectionFactory()
    {
@@ -113,7 +113,7 @@
    /**
     * Returns a matched connection from the candidate set of connections. 
     *
-    * @param connectionSet candidate connection set
+    * @param connectionSet Candidate connection set
     * @param subject Caller's security information
     * @param cxRequestInfo Additional resource adapter specific connection request information
     * @throws ResourceException generic exception
@@ -183,7 +183,7 @@
 
    /** 
     * Returns a hash code value for the object.
-    * @return a hash code value for this object.
+    * @return A hash code value for this object.
     */
    @Override
    public int hashCode()
@@ -194,8 +194,8 @@
 
    /** 
     * Indicates whether some other object is equal to this one.
-    * @param other the reference object with which to compare.
-    * @return true if this object is the same as the obj argument; false otherwise.
+    * @param other The reference object with which to compare.
+    * @return true If this object is the same as the obj argument, false otherwise.
     */
    @Override
    public boolean equals(Object other)

Modified: projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnectionMetaData.java
===================================================================
--- projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnectionMetaData.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldManagedConnectionMetaData.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -33,7 +33,7 @@
 public class HelloWorldManagedConnectionMetaData implements ManagedConnectionMetaData
 {
    /**
-    * default constructor
+    * Default constructor
     */
    public HelloWorldManagedConnectionMetaData()
    {
@@ -78,7 +78,7 @@
    /**
     * Returns name of the user associated with the ManagedConnection instance
     *
-    * @return  name of the user
+    * @return Name of the user
     * @throws ResourceException Thrown if an error occurs
     */
    @Override

Modified: projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldResourceAdapter.java
===================================================================
--- projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldResourceAdapter.java	2011-01-03 20:14:28 UTC (rev 110253)
+++ projects/jboss-jca/trunk/doc/samples/helloworld/src/main/java/org/jboss/jca/samples/helloworld/HelloWorldResourceAdapter.java	2011-01-04 04:15:38 UTC (rev 110254)
@@ -53,14 +53,14 @@
    private String name;
 
    /**
-    * default constructor
+    * Default constructor
     */
    public HelloWorldResourceAdapter()
    {
    }
 
    /** 
-    * set name
+    * Set name
     * @param name The value
     */
    public void setName(String name)
@@ -69,7 +69,7 @@
    }
 
    /** 
-    * get name
+    * Get name
     * @return The value
     */
    public String getName()
@@ -80,8 +80,8 @@
    /**
     * This is called during the activation of a message endpoint.
     *
-    * @param endpointFactory a message endpoint factory instance.
-    * @param spec an activation spec JavaBean instance.
+    * @param endpointFactory A message endpoint factory instance.
+    * @param spec An activation spec JavaBean instance.
     * @throws ResourceException generic exception 
     */
    public void endpointActivation(MessageEndpointFactory endpointFactory,
@@ -92,8 +92,8 @@
    /**
     * This is called when a message endpoint is deactivated. 
     *
-    * @param endpointFactory a message endpoint factory instance.
-    * @param spec an activation spec JavaBean instance.
+    * @param endpointFactory A message endpoint factory instance.
+    * @param spec An activation spec JavaBean instance.
     */
    public void endpointDeactivation(MessageEndpointFactory endpointFactory,
                                     ActivationSpec spec)
@@ -103,7 +103,7 @@
    /**
     * This is called when a resource adapter instance is bootstrapped.
     *
-    * @param ctx a bootstrap context containing references 
+    * @param ctx A bootstrap context containing references 
     * @throws ResourceAdapterInternalException indicates bootstrap failure.
     */
    public void start(BootstrapContext ctx)
@@ -134,7 +134,7 @@
 
    /** 
     * Returns a hash code value for the object.
-    * @return a hash code value for this object.
+    * @return A hash code value for this object.
     */
    @Override
    public int hashCode()
@@ -149,8 +149,8 @@
 
    /** 
     * Indicates whether some other object is equal to this one.
-    * @param other the reference object with which to compare.
-    * @return true if this object is the same as the obj argument; false otherwise.
+    * @param other The reference object with which to compare.
+    * @return true If this object is the same as the obj argument, false otherwise.
     */
    @Override
    public boolean equals(Object other)



More information about the jboss-cvs-commits mailing list