You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2014/02/20 17:58:13 UTC
svn commit: r1570271 -
/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/common/SecurityTestUtil.java
Author: coheigea
Date: Thu Feb 20 16:58:13 2014
New Revision: 1570271
URL: http://svn.apache.org/r1570271
Log:
Removing caching files
Modified:
webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/common/SecurityTestUtil.java
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/common/SecurityTestUtil.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/common/SecurityTestUtil.java?rev=1570271&r1=1570270&r2=1570271&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/common/SecurityTestUtil.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/common/SecurityTestUtil.java Thu Feb 20 16:58:13 2014
@@ -35,11 +35,7 @@ public final class SecurityTestUtil {
File[] tmpFiles = new File(tmpDir).listFiles();
if (tmpFiles != null) {
for (File tmpFile : tmpFiles) {
- if (tmpFile.exists() && (tmpFile.getName().startsWith("ws-security.nonce.cache")
- || tmpFile.getName().startsWith("wss4j-nonce-cache")
- || tmpFile.getName().startsWith("ws-security.timestamp.cache")
- || tmpFile.getName().startsWith("wss4j-timestamp-cache")
- || tmpFile.getName().startsWith("wss4j-saml-one-time-use-cache"))) {
+ if (tmpFile.exists() && (tmpFile.getName().endsWith(".data"))) {
tmpFile.delete();
}
}