[jboss-cvs] jboss-seam/src/main/org/jboss/seam/el ...

Norman Richards norman.richards at jboss.com
Fri Dec 14 22:41:52 EST 2007


  User: nrichards
  Date: 07/12/14 22:41:52

  Modified:    src/main/org/jboss/seam/el  EL.java
  Log:
  JBSEAM-2357
  
  Revision  Changes    Path
  1.10      +6 -1      jboss-seam/src/main/org/jboss/seam/el/EL.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: EL.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/el/EL.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- EL.java	16 Jul 2007 10:22:53 -0000	1.9
  +++ EL.java	15 Dec 2007 03:41:52 -0000	1.10
  @@ -27,7 +27,8 @@
   public class EL
   {
      public static final ELResolver EL_RESOLVER = createELResolver();
  -   public static final ELContext EL_CONTEXT = createELContext( EL_RESOLVER, new FunctionMapperImpl() );
  +   //ELContext instances should not be shared between threads
  +   //public static final ELContext EL_CONTEXT = createELContext( EL_RESOLVER, new FunctionMapperImpl() );
      
      public static final ExpressionFactory EXPRESSION_FACTORY = new ExpressionFactoryImpl();
      
  @@ -43,6 +44,10 @@
         return resolver;
      }
   
  +   public static ELContext createELContext() {
  +       return createELContext( EL_RESOLVER, new FunctionMapperImpl() );
  +   }
  +   
      public static ELContext createELContext(final ELResolver resolver, final FunctionMapper functionMapper)
      {
         return new ELContext()
  
  
  



More information about the jboss-cvs-commits mailing list