cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gma...@apache.org
Subject svn commit: r598464 - /incubator/cxf/trunk/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/common/MessageLossSimulator.java
Date Mon, 26 Nov 2007 23:33:09 GMT
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()) {



Mime
View raw message