synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: svn commit: r794984 - in /synapse/trunk/java/modules: core/src/main/java/org/apache/synapse/config/SynapseConfigUtils.java extensions/src/main/java/org/apache/synapse/mediators/xquery/XQueryMediatorFactory.java
Date Fri, 17 Jul 2009 08:01:39 GMT
Indika,

How is the change in XQueryMediatorFactory related to the Sun-IBM problem?

Andreas

On Fri, Jul 17, 2009 at 08:38, <indika@apache.org> wrote:
> Author: indika
> Date: Fri Jul 17 06:38:32 2009
> New Revision: 794984
>
> URL: http://svn.apache.org/viewvc?rev=794984&view=rev
> Log:
> remove sun JDK  sepecific class dependency
>
> Modified:
>    synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfigUtils.java
>    synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/xquery/XQueryMediatorFactory.java
>
> Modified: synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfigUtils.java
> URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfigUtils.java?rev=794984&r1=794983&r2=794984&view=diff
> ==============================================================================
> --- synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfigUtils.java
(original)
> +++ synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfigUtils.java
Fri Jul 17 06:38:32 2009
> @@ -34,7 +34,6 @@
>  import org.apache.synapse.commons.security.definition.factory.KeyStoreInformationFactory;
>  import org.apache.synapse.util.SynapseBinaryDataSource;
>  import org.xml.sax.InputSource;
> -import sun.net.www.protocol.https.HttpsURLConnectionImpl;
>
>  import javax.activation.DataHandler;
>  import javax.net.ssl.*;
> @@ -376,7 +375,7 @@
>         }
>
>         try {
> -            HttpsURLConnectionImpl connection = (HttpsURLConnectionImpl) url.openConnection();
> +            HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
>             //Create a SSLContext
>             SSLContext sslContext = SSLContext.getInstance("TLS");
>             sslContext.init(keyManagers,
>
> Modified: synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/xquery/XQueryMediatorFactory.java
> URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/xquery/XQueryMediatorFactory.java?rev=794984&r1=794983&r2=794984&view=diff
> ==============================================================================
> --- synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/xquery/XQueryMediatorFactory.java
(original)
> +++ synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/xquery/XQueryMediatorFactory.java
Fri Jul 17 06:38:32 2009
> @@ -75,8 +75,7 @@
>         if (attrTarget != null) {
>             String targetValue = attrTarget.getAttributeValue();
>             if (targetValue != null && !"".equals(targetValue)) {
> -                try {
> -                    xQueryMediator.setQuerySource(targetValue);
> +                try {
>                     xQueryMediator.setTarget(SynapseXPathFactory.getSynapseXPath(elem,
ATT_TARGET));
>                 } catch (JaxenException e) {
>                     handleException("Invalid XPath specified for the target
attribute : " +
>
>
>

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


Mime
View raw message