synapse-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raji...@apache.org
Subject svn commit: r1035571 - /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractDBMediatorFactory.java
Date Tue, 16 Nov 2010 10:22:03 GMT
Author: rajikak
Date: Tue Nov 16 10:22:03 2010
New Revision: 1035571

URL: http://svn.apache.org/viewvc?rev=1035571&view=rev
Log:
Reverted the fix done previously for DBmediators.

Modified:
    synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractDBMediatorFactory.java

Modified: synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractDBMediatorFactory.java
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractDBMediatorFactory.java?rev=1035571&r1=1035570&r2=1035571&view=diff
==============================================================================
--- synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractDBMediatorFactory.java
(original)
+++ synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractDBMediatorFactory.java
Tue Nov 16 10:22:03 2010
@@ -273,7 +273,7 @@ public abstract class AbstractDBMediator
         while (iter.hasNext()) {
 
             OMElement stmntElt = (OMElement) iter.next();
-            Statement statement = new Statement(decodeSQLString(getValue(stmntElt, SQL_Q)));
+            Statement statement = new Statement(getValue(stmntElt, SQL_Q));
 
             Iterator paramIter = stmntElt.getChildrenWithName(PARAM_Q);
             while (paramIter.hasNext()) {
@@ -336,8 +336,5 @@ public abstract class AbstractDBMediator
         mediator.addDataSourceProperty(qname, getValue(element, qname));
     }
 
-    private String decodeSQLString(String sql){
-        return sql.replaceAll("&lt;","<").replaceAll("&gt;", ">");
-    }
 }
 



Mime
View raw message