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,  <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to