You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2006/04/11 21:42:28 UTC

svn commit: r393300 - /portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/container/PortletRequestContext.java

Author: ate
Date: Tue Apr 11 12:42:23 2006
New Revision: 393300

URL: http://svn.apache.org/viewcvs?rev=393300&view=rev
Log:
Fix accidentally usage of a Java 1.5 features.
Bloody Eclipse won't tell you that, even if you set compiler compliance to Java 1.4. 
It will *only* validate language features that way, not library usage...

Modified:
    portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/container/PortletRequestContext.java

Modified: portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/container/PortletRequestContext.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/container/PortletRequestContext.java?rev=393300&r1=393299&r2=393300&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/container/PortletRequestContext.java (original)
+++ portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/container/PortletRequestContext.java Tue Apr 11 12:42:23 2006
@@ -26,8 +26,8 @@
     }
     
     public static void clearContext()
-    {
-        context.remove();
+    {        
+        context.set(null);
     }
 
     private PortletRequestContext(PortletDefinition pd, Portlet portlet, PortletRequest request, PortletResponse response)



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