You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2011/05/19 03:41:45 UTC
svn commit: r1124499 -
/myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java
Author: lu4242
Date: Thu May 19 01:41:44 2011
New Revision: 1124499
URL: http://svn.apache.org/viewvc?rev=1124499&view=rev
Log:
MYFACES-3136 [perf] review UIComponentBase.getRendererType
Modified:
myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java
Modified: myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java?rev=1124499&r1=1124498&r2=1124499&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java (original)
+++ myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java Thu May 19 01:41:44 2011
@@ -897,7 +897,8 @@ public abstract class UIComponentBase ex
@Override
public String getRendererType()
{
- return (String) getStateHelper().eval(PropertyKeys.rendererType);
+ // rendererType is literal-only, no ValueExpression - MYFACES-3136:
+ return (String) getStateHelper().get(PropertyKeys.rendererType);
}
/**