db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r989134 - in /db/torque/torque4/trunk/torque-generator/src: main/java/org/apache/torque/generator/outlet/java/JavadocOutlet.java test/java/org/apache/torque/generator/outlet/java/JavadocOutletTest.java
Date Wed, 25 Aug 2010 14:37:27 GMT
Author: tfischer
Date: Wed Aug 25 14:37:27 2010
New Revision: 989134

URL: http://svn.apache.org/viewvc?rev=989134&view=rev
Log:
Fix typo in mergepoint name of javadoc outlet (and the test case which did not catch it) 

Modified:
    db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/outlet/java/JavadocOutlet.java
    db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/outlet/java/JavadocOutletTest.java

Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/outlet/java/JavadocOutlet.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/outlet/java/JavadocOutlet.java?rev=989134&r1=989133&r2=989134&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/outlet/java/JavadocOutlet.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/outlet/java/JavadocOutlet.java
Wed Aug 25 14:37:27 2010
@@ -40,7 +40,7 @@ public class JavadocOutlet extends Outle
     public static final String BODY_MERGEPOINT_NAME = "body";
     
     /** The name of the mergepoint which contains the javadoc attributes. */
-    public static final String ATTRIBUTES_MERGEPOINT_NAME = "atttributes";
+    public static final String ATTRIBUTES_MERGEPOINT_NAME = "attributes";
     
     /** The first line of the javadoc. */
     private static String START_LINE = "/**";

Modified: db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/outlet/java/JavadocOutletTest.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/outlet/java/JavadocOutletTest.java?rev=989134&r1=989133&r2=989134&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/outlet/java/JavadocOutletTest.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/outlet/java/JavadocOutletTest.java
Wed Aug 25 14:37:27 2010
@@ -55,14 +55,14 @@ public class JavadocOutletTest
         mergepointActions.add(new OutputAction("Test-body for.a,javadoc"));
         javadocOutlet.setMergepointMapping(
                 new MergepointMapping(
-                        JavadocOutlet.BODY_MERGEPOINT_NAME,
+                        "body",
                         mergepointActions));
         mergepointActions = new ArrayList<MergepointAction>();
         mergepointActions.add(
                 new OutputAction("@param param1 description,of param1"));
         javadocOutlet.setMergepointMapping(
                 new MergepointMapping(
-                        JavadocOutlet.ATTRIBUTES_MERGEPOINT_NAME,
+                        "attributes",
                         mergepointActions));
         String result = javadocOutlet.execute(new ControllerState());
         assertEquals(



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message