Author: mgentry
Date: Thu Jun  2 16:15:54 2011
New Revision: 1130629

URL: http://svn.apache.org/viewvc?rev=1130629&view=rev
Log:
Fix for CAY-1575: Error generating Embeddable classes in Cayenne Modeler

Modified:
    
cayenne/main/trunk/framework/cayenne-tools/src/main/resources/templates/v1_2/embeddable-superclass.vm

Modified: 
cayenne/main/trunk/framework/cayenne-tools/src/main/resources/templates/v1_2/embeddable-superclass.vm
URL: 
http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-tools/src/main/resources/templates/v1_2/embeddable-superclass.vm?rev=1130629&r1=1130628&r2=1130629&view=diff
==============================================================================
--- 
cayenne/main/trunk/framework/cayenne-tools/src/main/resources/templates/v1_2/embeddable-superclass.vm
 (original)
+++ 
cayenne/main/trunk/framework/cayenne-tools/src/main/resources/templates/v1_2/embeddable-superclass.vm
 Thu Jun  2 16:15:54 2011
@@ -88,7 +88,7 @@ public abstract class ${superClassName} 
         return $stringUtils.formatVariableName(${attr.Name});
     }
 #elseif ( $importUtils.isNonBooleanPrimitive(${attr.Type}) )
-    public $classGen.formatJavaType(${attr.Type}) 
get${stringUtils.capitalized($attr.Name)}() {
+    public $importUtils.formatJavaType(${attr.Type}) 
get${stringUtils.capitalized($attr.Name)}() {
         return $stringUtils.formatVariableName(${attr.Name});
     }
 #else


Reply via email to