activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r831122 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs
Date Thu, 29 Oct 2009 22:29:56 GMT
Author: tabish
Date: Thu Oct 29 22:29:56 2009
New Revision: 831122

URL: http://svn.apache.org/viewvc?rev=831122&view=rev
Log:
Fix some more formatting issues

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs?rev=831122&r1=831121&r2=831122&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs
Thu Oct 29 22:29:56 2009
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-using System;
+using System;
 
 namespace Apache.NMS.Policies
 {
@@ -78,7 +78,7 @@
             if(UseCollisionAvoidance)
             {
                 Random random = RandomNumberGenerator;
-                double variance = (NextBool ? collisionAvoidanceFactor : collisionAvoidanceFactor
*= -1)*random.NextDouble();
+                double variance = (NextBool ? collisionAvoidanceFactor : collisionAvoidanceFactor
*= -1) * random.NextDouble();
                 delay += Convert.ToInt32(Convert.ToDouble(delay) * variance);
             }
 



Mime
View raw message