geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1361621 - /geronimo/server/branches/3.0/plugins/corba/geronimo-corba/src/main/java/org/apache/geronimo/corba/security/ClientSecurityInterceptor.java
Date Sun, 15 Jul 2012 03:18:43 GMT
Author: genspring
Date: Sun Jul 15 03:18:43 2012
New Revision: 1361621

URL: http://svn.apache.org/viewvc?rev=1361621&view=rev
Log:
GERONIMOTCK-133 remove the harmless/useless NPE info in the log.

Modified:
    geronimo/server/branches/3.0/plugins/corba/geronimo-corba/src/main/java/org/apache/geronimo/corba/security/ClientSecurityInterceptor.java

Modified: geronimo/server/branches/3.0/plugins/corba/geronimo-corba/src/main/java/org/apache/geronimo/corba/security/ClientSecurityInterceptor.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0/plugins/corba/geronimo-corba/src/main/java/org/apache/geronimo/corba/security/ClientSecurityInterceptor.java?rev=1361621&r1=1361620&r2=1361621&view=diff
==============================================================================
--- geronimo/server/branches/3.0/plugins/corba/geronimo-corba/src/main/java/org/apache/geronimo/corba/security/ClientSecurityInterceptor.java
(original)
+++ geronimo/server/branches/3.0/plugins/corba/geronimo-corba/src/main/java/org/apache/geronimo/corba/security/ClientSecurityInterceptor.java
Sun Jul 15 03:18:43 2012
@@ -68,6 +68,7 @@ final class ClientSecurityInterceptor ex
             if (log.isDebugEnabled()) log.debug("Target has a security policy");
 
             ClientPolicy clientPolicy = (ClientPolicy) ri.get_request_policy(ClientPolicyFactory.POLICY_TYPE);
+            if (clientPolicy == null) return;
             CSSConfig config = clientPolicy.getConfig();
             if (config == null) return;
 



Mime
View raw message