perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r6436 - trunk/perfsonar-base/messaging/src/main/java/net/geant/perfsonar/messaging
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r6436 - trunk/perfsonar-base/messaging/src/main/java/net/geant/perfsonar/messaging
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r6436 - trunk/perfsonar-base/messaging/src/main/java/net/geant/perfsonar/messaging
- Date: Wed, 19 Jun 2013 10:50:52 +0100 (BST)
- Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none
Author: psnc.pietrzak
Date: 2013-06-19 10:50:52 +0100 (Wed, 19 Jun 2013)
New Revision: 6436
Modified:
trunk/perfsonar-base/messaging/src/main/java/net/geant/perfsonar/messaging/XPathDeserializer.java
Log:
Fixed concurrency bug.
Modified:
trunk/perfsonar-base/messaging/src/main/java/net/geant/perfsonar/messaging/XPathDeserializer.java
===================================================================
---
trunk/perfsonar-base/messaging/src/main/java/net/geant/perfsonar/messaging/XPathDeserializer.java
2013-06-17 13:13:06 UTC (rev 6435)
+++
trunk/perfsonar-base/messaging/src/main/java/net/geant/perfsonar/messaging/XPathDeserializer.java
2013-06-19 09:50:52 UTC (rev 6436)
@@ -202,7 +202,9 @@
} catch (XPathException ex) {
throw new DeserializationException(ex);
} finally {
- for (Method method : XPATHS.values()) {
+ final Iterator<Method> iter = XPATHS.values().iterator();
+ while (iter.hasNext()) {
+ Method method = iter.next();
method.resetCount();
}
}
- [pS-dev] [GEANT/SA2/ps-java-services] r6436 - trunk/perfsonar-base/messaging/src/main/java/net/geant/perfsonar/messaging, svn-noreply, 06/19/2013
Archive powered by MHonArc 2.6.16.