axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r478522 - /webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/PolicyBasedResultsValidator.java
Date Thu, 23 Nov 2006 09:53:28 GMT
Author: ruchithf
Date: Thu Nov 23 01:53:27 2006
New Revision: 478522

URL: http://svn.apache.org/viewvc?view=rev&rev=478522
Log:
Stopping a java.util.NoSuchElementException

Modified:
    webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/PolicyBasedResultsValidator.java

Modified: webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/PolicyBasedResultsValidator.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/PolicyBasedResultsValidator.java?view=diff&rev=478522&r1=478521&r2=478522
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/PolicyBasedResultsValidator.java
(original)
+++ webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/PolicyBasedResultsValidator.java
Thu Nov 23 01:53:27 2006
@@ -253,8 +253,7 @@
             
         } else {
             boolean encrFound = false;
-            for (Iterator iter = sigEncrActions.iterator(); 
-                iter.hasNext() || !done;) {
+            for (Iterator iter = sigEncrActions.iterator(); iter.hasNext();) {
                 Integer act = (Integer) iter.next();
                 if(act.intValue() == WSConstants.ENCR) {
                     encrFound = true;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message