ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1662472 - /webservices/wss4j/branches/2_0_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/WSSecurityEngine.java
Date Thu, 26 Feb 2015 15:02:47 GMT
Author: coheigea
Date: Thu Feb 26 15:02:46 2015
New Revision: 1662472

URL: http://svn.apache.org/r1662472
Log:
Switching to use LinkedList

Modified:
    webservices/wss4j/branches/2_0_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/WSSecurityEngine.java

Modified: webservices/wss4j/branches/2_0_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/WSSecurityEngine.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_0_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/WSSecurityEngine.java?rev=1662472&r1=1662471&r2=1662472&view=diff
==============================================================================
--- webservices/wss4j/branches/2_0_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/WSSecurityEngine.java
(original)
+++ webservices/wss4j/branches/2_0_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/WSSecurityEngine.java
Thu Feb 26 15:02:46 2015
@@ -19,8 +19,8 @@
 
 package org.apache.wss4j.dom;
 
-import java.util.ArrayList;
 import java.util.Collections;
+import java.util.LinkedList;
 import java.util.List;
 
 import javax.security.auth.callback.CallbackHandler;
@@ -405,7 +405,7 @@ public class WSSecurityEngine {
         final WSSConfig cfg = getWssConfig();
         Node node = securityHeader.getFirstChild();
         
-        List<WSSecurityEngineResult> returnResults = new ArrayList<WSSecurityEngineResult>();
+        List<WSSecurityEngineResult> returnResults = new LinkedList<WSSecurityEngineResult>();
         boolean foundTimestamp = false;
         while (node != null) {
             Node nextSibling = node.getNextSibling();



Mime
View raw message