Author: supun
Date: Tue Jun  8 22:43:12 2010
New Revision: 952852

URL: http://svn.apache.org/viewvc?rev=952852&view=rev
Log:
minor improvements to documentation

Modified:
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/WeightedRRLCAlgorithm.java

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/WeightedRRLCAlgorithm.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/WeightedRRLCAlgorithm.java?rev=952852&r1=952851&r2=952852&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/WeightedRRLCAlgorithm.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/WeightedRRLCAlgorithm.java
 Tue Jun  8 22:43:12 2010
@@ -96,7 +96,7 @@ public class WeightedRRLCAlgorithm imple
                                                  AlgorithmContext 
algorithmContext) {                
         WeightedState s = list[endpointCursor];
 
-        // once we choose an endpoit we countinue to use that untile all
+        // once we choose an endpoit we countinue to use that until all
         // the chances are over for this round
         if (!s.isSendsAvailable()) {
             // reset this state for this round
@@ -121,6 +121,9 @@ public class WeightedRRLCAlgorithm imple
         return endpoints.get(s.getEndpointPosition());
     }
 
+    /**
+     * Initialize the algorithm reading the configurations from the endpoints.
+     */
     private void intialize() {
         // get the global properties
         if (loadBalanceEndpoint != null && loadBalanceEndpoint instanceof 
PropertyInclude) {
@@ -274,7 +277,7 @@ public class WeightedRRLCAlgorithm imple
         }
 
         if (connectionsMap == null) {
-            String msg = "Connections map not found";
+            String msg = "Connections map not found.";
             log.error(msg);
             throw new SynapseException(msg);
         }


Reply via email to