ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1468087 - /webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/handler/WSHandler.java
Date Mon, 15 Apr 2013 14:14:18 GMT
Author: coheigea
Date: Mon Apr 15 14:14:17 2013
New Revision: 1468087

URL: http://svn.apache.org/r1468087
Log:
Remove some unnecessary logging warnings

Modified:
    webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/handler/WSHandler.java

Modified: webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/handler/WSHandler.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/handler/WSHandler.java?rev=1468087&r1=1468086&r2=1468087&view=diff
==============================================================================
--- webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/handler/WSHandler.java
(original)
+++ webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/handler/WSHandler.java
Mon Apr 15 14:14:17 2013
@@ -911,20 +911,13 @@ public abstract class WSHandler {
                     crypto = loadCryptoFromPropertiesFile(propFile, requestData);
                     cryptos.put(propFile, crypto);
                 }
-            } 
-            if (crypto == null) {
-                if (propFile == null) {
-                    log.warn(
-                         "The Crypto properties file specified by "
-                         + cryptoPropertyFile + " is null"
-                    );
-                } else {
+                if (crypto == null) {
                     log.warn(
                          "The Crypto properties file " + propFile + " specified by "
                          + cryptoPropertyFile + " could not be loaded or found"
                     );
                 }
-            }
+            } 
         }
 
         return crypto;



Mime
View raw message