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: r730466 [2/3] - in /synapse/trunk/java: ./ modules/core/src/main/java/org/apache/synapse/config/ modules/core/src/main/java/org/apache/synapse/config/xml/ modules/core/src/main/java/org/apache/synapse/config/xml/eventing/ modules/core/src/m...
Date Sun, 04 Aug 2013 11:43:02 GMT
Using static fields to store error information here doesn't look
right. BTW, this causes a build failure with Java 1.7 (on Linux)
because the corresponding test cases are executed in a different order
than with Java 1.6.

Andreas

On Wed, Dec 31, 2008 at 9:26 PM,  <asanka@apache.org> wrote:
> +public class SubscriptionMessageBuilder {
> +
> +    private static final Log log = LogFactory.getLog(SubscriptionMessageBuilder.class);
> +
> +    private static final QName SUBSCRIBE_QNAME = new QName(EventingConstants.WSE_EVENTING_NS,
EventingConstants.WSE_EN_SUBSCRIBE);
> +    private static final QName DELIVERY_QNAME = new QName(EventingConstants.WSE_EVENTING_NS,
EventingConstants.WSE_EN_DELIVERY);
> +    private static final QName FILTER_QNAME = new QName(EventingConstants.WSE_EVENTING_NS,
EventingConstants.WSE_EN_FILTER);
> +    private static final QName NOTIFY_TO_QNAME = new QName(EventingConstants.WSE_EVENTING_NS,
EventingConstants.WSE_EN_NOTIFY_TO);
> +    private static final QName ATT_DIALECT = new QName(XMLConfigConstants.NULL_NAMESPACE,
EventingConstants.WSE_EN_DIALECT);
> +    private static final QName ATT_XPATH = new QName(XMLConfigConstants.NULL_NAMESPACE,
EventingConstants.WSE_EN_XPATH);
> +    private static final QName IDENTIFIER = new QName(EventingConstants.WSE_EVENTING_NS,
EventingConstants.WSE_EN_IDENTIFIER);
> +    private static final QName EXPIRES = new QName(EventingConstants.WSE_EVENTING_NS,
EventingConstants.WSE_EN_EXPIRES);
> +    private static final QName RENEW = new QName(EventingConstants.WSE_EVENTING_NS,
EventingConstants.WSE_EN_RENEW);
> +
> +    private static String errorSubCode = null;
> +    private static String errorReason = null;
> +    private static String errorCode = null;

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


Mime
View raw message