Author: gmazza
Date: Mon Nov 26 15:33:05 2007
New Revision: 598464
URL: http://svn.apache.org/viewvc?rev=598464&view=rev
Log:
Minor comments added.
Modified:
incubator/cxf/trunk/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/common/MessageLossSimulator.java
Modified:
incubator/cxf/trunk/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/common/MessageLossSimulator.java
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/common/MessageLossSimulator.java?rev=598464&r1=598463&r2=598464&view=diff
==============================================================================
---
incubator/cxf/trunk/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/common/MessageLossSimulator.java
(original)
+++
incubator/cxf/trunk/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/common/MessageLossSimulator.java
Mon Nov 26 15:33:05 2007
@@ -63,10 +63,12 @@
return;
}
appMessageCount++;
+ // do not discard odd-numbered messages
if (0 != (appMessageCount % 2)) {
return;
}
+ // discard even-numbered message
InterceptorChain chain = message.getInterceptorChain();
ListIterator it = chain.getIterator();
while (it.hasNext()) {