[seam-commits] Seam SVN: r10584 - branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/contexts.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Apr 22 10:30:28 EDT 2009
Author: manaRH
Date: 2009-04-22 10:30:27 -0400 (Wed, 22 Apr 2009)
New Revision: 10584
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/contexts/PageContext.java
Log:
JBPAPP-1923 - reduce String concatanation in PageContext
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/contexts/PageContext.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/contexts/PageContext.java 2009-04-22 14:13:41 UTC (rev 10583)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/contexts/PageContext.java 2009-04-22 14:30:27 UTC (rev 10584)
@@ -56,10 +56,12 @@
{
return getPrefix() + name;
}
+
+ private static final String PAGE_CONTEXT_PREFIX = ScopeType.PAGE.getPrefix() + '$';
private String getPrefix()
{
- return ScopeType.PAGE.getPrefix() + '$';
+ return PAGE_CONTEXT_PREFIX;
}
public Object get(String name)
More information about the seam-commits
mailing list