geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r354228 - /geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/realm/TomcatGeronimoRealm.java
Date Mon, 05 Dec 2005 23:34:07 GMT
Author: jgenender
Date: Mon Dec  5 15:34:03 2005
New Revision: 354228

URL: http://svn.apache.org/viewcvs?rev=354228&view=rev
Log:
Fixed a NPE

Modified:
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/realm/TomcatGeronimoRealm.java

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/realm/TomcatGeronimoRealm.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/realm/TomcatGeronimoRealm.java?rev=354228&r1=354227&r2=354228&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/realm/TomcatGeronimoRealm.java
(original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/realm/TomcatGeronimoRealm.java
Mon Dec  5 15:34:03 2005
@@ -279,7 +279,7 @@
         }
 
         Request request = (Request) currentRequest.get();
-        if (currentRequest == null) {
+        if (request == null) {
             log.error("No currentRequest found.");
             return false;
         }



Mime
View raw message