synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject svn commit: r585033 - /webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java
Date Tue, 16 Oct 2007 04:25:59 GMT
Author: ruwan
Date: Mon Oct 15 21:25:59 2007
New Revision: 585033

URL: http://svn.apache.org/viewvc?rev=585033&view=rev
Log:
Fixing the get-property function issue (SYNAPSE-147)

Modified:
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java?rev=585033&r1=585032&r2=585033&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java
(original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java
Mon Oct 15 21:25:59 2007
@@ -164,12 +164,7 @@
                     return messageID;
                 }
             } else {
-                Object result = synCtx.getProperty(key);
-                if (result != null) {
-                    return result;
-                } else {
-                    return synCtx.getEntry(key);
-                }
+                return synCtx.getProperty(key);
             }
 
         } else if (XMLConfigConstants.SCOPE_AXIS2.equals(scope)



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message