tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r1092561 - /tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java
Date Fri, 15 Apr 2011 01:07:06 GMT
Author: hlship
Date: Fri Apr 15 01:07:06 2011
New Revision: 1092561

URL: http://svn.apache.org/viewvc?rev=1092561&view=rev
Log:
TAP5-853: Fix a problem where an introduced field would have the wrong description if it was
an array type

Modified:
    tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java

Modified: tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java?rev=1092561&r1=1092560&r2=1092561&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java
(original)
+++ tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java
Fri Apr 15 01:07:06 2011
@@ -1756,7 +1756,7 @@ public class PlasticClassImpl extends Lo
     {
         assert fieldType != null;
 
-        return introduceField(fieldType.getName(), suggestedName);
+        return introduceField(nameCache.toTypeName(fieldType), suggestedName);
     }
 
     private String makeUnique(Set<String> values, String input)



Mime
View raw message