From 53f789b475b67e09d8843bca7a3dc2c54b471381 Mon Sep 17 00:00:00 2001 From: "Timothy A. Bish" Date: Sat, 26 Mar 2011 17:24:27 +0000 Subject: [PATCH] fix for: https://issues.apache.org/jira/browse/AMQ-3241 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1085773 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/activemq/ActiveMQMessageProducerSupport.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java b/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java index 45a3b9c7f0..1f8ce41d6d 100644 --- a/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java +++ b/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java @@ -26,7 +26,7 @@ import javax.jms.MessageProducer; /** * A useful base class for implementing a {@link MessageProducer} * - * + * */ public abstract class ActiveMQMessageProducerSupport implements MessageProducer, Closeable { protected ActiveMQSession session; @@ -131,7 +131,7 @@ public abstract class ActiveMQMessageProducerSupport implements MessageProducer, */ public void setDeliveryMode(int newDeliveryMode) throws JMSException { if (newDeliveryMode != DeliveryMode.PERSISTENT && newDeliveryMode != DeliveryMode.NON_PERSISTENT) { - throw new javax.jms.IllegalStateException("unkown delivery mode: " + newDeliveryMode); + throw new javax.jms.IllegalStateException("unknown delivery mode: " + newDeliveryMode); } checkClosed(); this.defaultDeliveryMode = newDeliveryMode;