cedric      2002/12/27 02:49:34

  Modified:    src/share/org/apache/struts/tiles DefinitionsUtil.java
  Log:
  Change the implementation of getFactory with a single argument.
  
  Revision  Changes    Path
  1.9       +4 -4      
jakarta-struts/src/share/org/apache/struts/tiles/DefinitionsUtil.java
  
  Index: DefinitionsUtil.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/DefinitionsUtil.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DefinitionsUtil.java      17 Dec 2002 00:57:36 -0000      1.8
  +++ DefinitionsUtil.java      27 Dec 2002 10:49:34 -0000      1.9
  @@ -333,7 +333,7 @@
      */
    static  public DefinitionsFactory getDefinitionsFactory(ServletContext 
servletContext)
     {
  -  return getDefaultDefinitionsFactory(servletContext);
  +  return (DefinitionsFactory)servletContext.getAttribute(DEFINITIONS_FACTORY);
     }
   
     /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to