Author: indika
Date: Tue Dec 23 09:13:21 2008
New Revision: 729041

URL: http://svn.apache.org/viewvc?rev=729041&view=rev
Log:
a commit related to previous commit

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

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/AlgorithmContext.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/AlgorithmContext.java?rev=729041&r1=729040&r2=729041&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/AlgorithmContext.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/AlgorithmContext.java
 Tue Dec 23 09:13:21 2008
@@ -126,7 +126,7 @@
      * @return The value of the property or null if the key does not exist
      */
     public Object getProperty(String key) {
-        if (Boolean.TRUE.equals(isClusteringEnabled)) {
+        if (isClusteringEnabled) {
             return cfgCtx.getPropertyNonReplicable(PROPERTY_KEY_PREFIX + key);
         } else {
             return localProperties.get(key);
@@ -145,7 +145,7 @@
     public void setProperty(String key, Object value) {
 
         if (key != null && value != null) {
-            if (Boolean.TRUE.equals(isClusteringEnabled)) {
+            if (isClusteringEnabled) {
                 Replicator.setAndReplicateState(PROPERTY_KEY_PREFIX + key, 
value, cfgCtx);
             } else {
                 localProperties.put(key, value);


Reply via email to