tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r961462 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
Date Wed, 07 Jul 2010 18:28:04 GMT
Author: hlship
Date: Wed Jul  7 18:28:04 2010
New Revision: 961462

URL: http://svn.apache.org/viewvc?rev=961462&view=rev
Log:
TAP-1197: Change the injected field, containing localized assets, to be protected, not private
(for improved efficiency)

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java?rev=961462&r1=961461&r2=961462&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
Wed Jul  7 18:28:04 2010
@@ -26,7 +26,6 @@ import org.apache.tapestry5.func.F;
 import org.apache.tapestry5.func.Mapper;
 import org.apache.tapestry5.func.Worker;
 import org.apache.tapestry5.ioc.Resource;
-import org.apache.tapestry5.ioc.internal.util.Defense;
 import org.apache.tapestry5.ioc.services.SymbolSource;
 import org.apache.tapestry5.model.MutableComponentModel;
 import org.apache.tapestry5.runtime.Component;
@@ -172,7 +171,7 @@ public class ImportWorker implements Com
 
     private FieldAccess createFieldForAssets(ClassTransformation transformation)
     {
-        TransformField field = transformation.createField(Modifier.PRIVATE, List.class.getName(),
"includedAssets");
+        TransformField field = transformation.createField(Modifier.PROTECTED, List.class.getName(),
"includedAssets");
 
         return field.getAccess();
     }



Mime
View raw message