[jboss-cvs] jboss-seam/src/main/org/jboss/seam/mock ...
Peter Muir
peter at bleepbleep.org.uk
Fri Mar 2 10:05:08 EST 2007
User: pmuir
Date: 07/03/02 10:05:08
Modified: src/main/org/jboss/seam/mock MockFacesContext.java
Log:
Classloading
Revision Changes Path
1.13 +2 -18 jboss-seam/src/main/org/jboss/seam/mock/MockFacesContext.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MockFacesContext.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/mock/MockFacesContext.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- MockFacesContext.java 1 Mar 2007 16:21:15 -0000 1.12
+++ MockFacesContext.java 2 Mar 2007 15:05:08 -0000 1.13
@@ -10,7 +10,6 @@
import java.util.List;
import java.util.Map;
-import javax.el.ELContext;
import javax.faces.FactoryFinder;
import javax.faces.application.Application;
import javax.faces.application.ApplicationFactory;
@@ -24,12 +23,10 @@
import javax.faces.render.RenderKit;
import javax.faces.render.RenderKitFactory;
-import com.sun.facelets.el.LegacyELContext;
-
/**
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
- * @version $Revision: 1.12 $
+ * @version $Revision: 1.13 $
*/
public class MockFacesContext extends FacesContext
{
@@ -44,8 +41,6 @@
private RenderKitFactory renderKitFactory;
- private ELContext elContext;
-
public MockFacesContext(ExternalContext externalContext, Application application)
{
this.externalContext = externalContext;
@@ -217,15 +212,4 @@
return this;
}
-
- // JSF 1.2 only
- public ELContext getELContext() {
- // TODO Does this work on JSF 1.2?
- if (elContext == null)
- {
- elContext = new LegacyELContext(this);
- }
- return elContext;
- }
-
}
More information about the jboss-cvs-commits
mailing list