tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r493532 - /tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java
Date Sat, 06 Jan 2007 18:41:44 GMT
Author: hlship
Date: Sat Jan  6 10:41:43 2007
New Revision: 493532

URL: http://svn.apache.org/viewvc?view=rev&rev=493532
Log:
Correct the generation of a writer method name when converting a field to read-only.

Modified:
    tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java

Modified: tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java?view=diff&rev=493532&r1=493531&r2=493532
==============================================================================
--- tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java
(original)
+++ tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java
Sat Jan  6 10:41:43 2007
@@ -1,4 +1,4 @@
-// Copyright 2006 The Apache Software Foundation
+// Copyright 2006, 2007 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -1317,7 +1317,7 @@
 
     public void makeReadOnly(String fieldName)
     {
-        String methodName = "_write_" + InternalUtils.stripMemberPrefix(fieldName);
+        String methodName = newMemberName("write_" + InternalUtils.stripMemberPrefix(fieldName));
 
         String fieldType = getFieldType(fieldName);
 



Mime
View raw message