activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r550690 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/RedeliveryPolicy.java
Date Tue, 26 Jun 2007 05:03:37 GMT
Author: rajdavies
Date: Mon Jun 25 22:03:37 2007
New Revision: 550690

URL: http://svn.apache.org/viewvc?view=rev&rev=550690
Log:
change scope of variables from protected to private

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/RedeliveryPolicy.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/RedeliveryPolicy.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/RedeliveryPolicy.java?view=diff&rev=550690&r1=550689&r2=550690
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/RedeliveryPolicy.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/RedeliveryPolicy.java Mon
Jun 25 22:03:37 2007
@@ -33,13 +33,13 @@
 	public static final int NO_MAXIMUM_REDELIVERIES = -1;
 	
     // +/-15% for a 30% spread -cgs
-    protected double collisionAvoidanceFactor = 0.15d;
-    protected int maximumRedeliveries = 6;
-    protected long initialRedeliveryDelay = 1000L;
-    protected static Random randomNumberGenerator;
-    protected boolean useCollisionAvoidance = false;
-    protected boolean useExponentialBackOff = false;
-    protected short backOffMultiplier = 5;
+    private double collisionAvoidanceFactor = 0.15d;
+    private int maximumRedeliveries = 6;
+    private long initialRedeliveryDelay = 1000L;
+    private static Random randomNumberGenerator;
+    private boolean useCollisionAvoidance = false;
+    private boolean useExponentialBackOff = false;
+    private short backOffMultiplier = 5;
 
     public RedeliveryPolicy() {
     }



Mime
View raw message