cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From egl...@apache.org
Subject svn commit: r571216 - /incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
Date Thu, 30 Aug 2007 15:47:27 GMT
Author: eglynn
Date: Thu Aug 30 08:46:51 2007
New Revision: 571216

URL: http://svn.apache.org/viewvc?rev=571216&view=rev
Log:
Using Itertor.remove() instead of Set.remove() to avoid ConcurrentModificationException.

Modified:
    incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java

Modified: incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java?rev=571216&r1=571215&r2=571216&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
(original)
+++ incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
Thu Aug 30 08:46:51 2007
@@ -291,7 +291,7 @@
             remoteExceptionObject = (Class)it.next();
             className = remoteExceptionObject.toString();
             if (!("".equals(className)) && className.contains("RemoteException"))
{
-                classes.remove(remoteExceptionObject);
+                it.remove();
             }
         }
         // add user extra class into jaxb context



Mime
View raw message