openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karlkil...@apache.org
Subject svn commit: r1733447 - /openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
Date Thu, 03 Mar 2016 11:18:55 GMT
Author: karlkilden
Date: Thu Mar  3 11:18:55 2016
New Revision: 1733447

URL: http://svn.apache.org/viewvc?rev=1733447&view=rev
Log:
OWB-1124 Added back a check for null that previously hid in a instanceof check

Modified:
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java?rev=1733447&r1=1733446&r2=1733447&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
Thu Mar  3 11:18:55 2016
@@ -810,6 +810,7 @@ public class WebContextsService extends
         if (requestContext == null)
         {
             logger.log(Level.WARNING, "Could NOT lazily initialize session context because
NO active request context");
+            return;
         }
 
         HttpServletRequest servletRequest = requestContext.getServletRequest();



Mime
View raw message