portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine AbstractEngine.java
Date Tue, 04 Jan 2005 16:14:01 GMT
weaver      2005/01/04 08:14:01

  Modified:    portal/src/java/org/apache/jetspeed/engine
                        AbstractEngine.java
  Log:
  Remvoed call to the static Jetspeed object.
  
  Revision  Changes    Path
  1.13      +2 -4      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/AbstractEngine.java
  
  Index: AbstractEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/AbstractEngine.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- AbstractEngine.java	29 Nov 2004 19:14:44 -0000	1.12
  +++ AbstractEngine.java	4 Jan 2005 16:14:00 -0000	1.13
  @@ -25,7 +25,6 @@
   import org.apache.commons.configuration.Configuration;
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  -import org.apache.jetspeed.Jetspeed;
   import org.apache.jetspeed.JetspeedPortalContext;
   import org.apache.jetspeed.PortalContext;
   import org.apache.jetspeed.PortalReservedParameters;
  @@ -330,10 +329,9 @@
        */
       public RequestContext getCurrentRequestContext()
       {
  -        RequestContextComponent contextComponent = (RequestContextComponent) Jetspeed.getComponentManager()
  +        RequestContextComponent contextComponent = (RequestContextComponent) getComponentManager()
               .getComponent(RequestContextComponent.class);
           return contextComponent.getRequestContext();
  -        //return (RequestContext) tlRequestContext.get();
       }
   
       public ComponentManager getComponentManager()
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message