You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by su...@apache.org on 2011/02/03 11:43:29 UTC

svn commit: r1066776 - /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java

Author: supun
Date: Thu Feb  3 10:43:28 2011
New Revision: 1066776

URL: http://svn.apache.org/viewvc?rev=1066776&view=rev
Log:
removing redundant code segment

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

Modified: synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java?rev=1066776&r1=1066775&r2=1066776&view=diff
==============================================================================
--- synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java (original)
+++ synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java Thu Feb  3 10:43:28 2011
@@ -305,9 +305,7 @@ public class GetPropertyFunction impleme
                     Properties reqProperties = propEntry.getEntryProperties();
                     if (reqProperties != null) {
                         if (reqProperties.get(propName) != null) {
-                            if (reqProperties.get(propName) != null) {
-                                return reqProperties.getProperty(propName);
-                            }
+                            return reqProperties.getProperty(propName);
                         }
                     }
                 } else if (propEntry.getValue() != null) {