You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/05/09 16:57:01 UTC
svn commit: r654839 - in
/myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt:
component1.1.stg component1.2.stg
Author: bommel
Date: Fri May 9 07:57:00 2008
New Revision: 654839
URL: http://svn.apache.org/viewvc?rev=654839&view=rev
Log:
(TOBAGO-637) Generate Components, no dead store
Modified:
myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component1.1.stg
myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component1.2.stg
Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component1.1.stg
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component1.1.stg?rev=654839&r1=654838&r2=654839&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component1.1.stg (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component1.1.stg Fri May 9 07:57:00 2008
@@ -63,8 +63,8 @@
<componentInfo.properties:{ p | <p:(p.propertyTemplate)()>}; separator="\n">
<if(componentInfo.properties)>
- public void restoreState(FacesContext context, Object state) {
- Object[] values = (Object[]) state;
+ public void restoreState(FacesContext context, Object componentState) {
+ Object[] values = (Object[]) componentState;
super.restoreState(context, values[0]);
<componentInfo.properties:{ p | <p:(p.propertyRestoreStateTemplate)()>}; separator="\n">
}
Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component1.2.stg
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component1.2.stg?rev=654839&r1=654838&r2=654839&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component1.2.stg (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component1.2.stg Fri May 9 07:57:00 2008
@@ -63,8 +63,8 @@
<componentInfo.properties:{ p | <p:(p.propertyTemplate)()>}; separator="\n">
<if(componentInfo.properties)>
- public void restoreState(FacesContext context, Object state) {
- Object[] values = (Object[]) state;
+ public void restoreState(FacesContext context, Object componentState) {
+ Object[] values = (Object[]) componentState;
super.restoreState(context, values[0]);
<componentInfo.properties:{ p | <p:(p.propertyRestoreStateTemplate)()>}; separator="\n">
}