[#7309] Minor formatting fixes
diff --git a/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java b/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java
index 915f103..461dbe1 100644
--- a/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java
+++ b/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java
@@ -291,35 +291,35 @@
* @return Returns the JMSContext.
*/
@Override
- public JMSContext createContext() {
- throw new UnsupportedOperationException("createContext() is not supported");
- }
+ public JMSContext createContext() {
+ throw new UnsupportedOperationException("createContext() is not supported");
+ }
/**
* @return Returns the JMSContext.
*/
- @Override
- public JMSContext createContext(String userName, String password) {
- throw new UnsupportedOperationException("createContext() is not supported");
- }
+ @Override
+ public JMSContext createContext(String userName, String password) {
+ throw new UnsupportedOperationException("createContext() is not supported");
+ }
- /**
+ /**
* @return Returns the JMSContext.
*/
- @Override
- public JMSContext createContext(String userName, String password, int sessionMode) {
- throw new UnsupportedOperationException("createContext() is not supported");
- }
+ @Override
+ public JMSContext createContext(String userName, String password, int sessionMode) {
+ throw new UnsupportedOperationException("createContext() is not supported");
+ }
- /**
+ /**
* @return Returns the JMSContext.
*/
- @Override
- public JMSContext createContext(int sessionMode) {
- throw new UnsupportedOperationException("createContext() is not supported");
- }
+ @Override
+ public JMSContext createContext(int sessionMode) {
+ throw new UnsupportedOperationException("createContext() is not supported");
+ }
- /**
+ /**
* @return the StatsImpl associated with this ConnectionFactory.
*/
@Override
diff --git a/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java b/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java
index 4ab73c3..461e531 100644
--- a/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java
+++ b/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java
@@ -42,7 +42,7 @@
disableMessageTimestamp = session.connection.isDisableTimeStampsByDefault();
}
- /**
+/**
* Gets the delivery delay associated with this <CODE>MessageProducer</CODE>.
*
* @return this producer's <CODE>DeliveryDely/ <CODE>
@@ -51,21 +51,21 @@
* @since 2.0
*/
@Override
- public void setDeliveryDelay(long deliveryDelay) throws JMSException {
- throw new UnsupportedOperationException("setDeliveryDelay() is not supported");
- }
+ public void setDeliveryDelay(long deliveryDelay) throws JMSException {
+ throw new UnsupportedOperationException("setDeliveryDelay() is not supported");
+ }
- /**
+ /**
* Gets the delivery delay value for this <CODE>MessageProducer</CODE>.
*
* @return the delivery delay for this messageProducer
* @throws javax.jms.JMSException if the JMS provider fails to determine if deliver delay is
* disabled due to some internal error.
*/
- @Override
- public long getDeliveryDelay() throws JMSException {
- throw new UnsupportedOperationException("getDeliveryDelay() is not supported");
- }
+ @Override
+ public long getDeliveryDelay() throws JMSException {
+ throw new UnsupportedOperationException("getDeliveryDelay() is not supported");
+ }
/**
* Sets whether message IDs are disabled.
diff --git a/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/PooledConnection.java b/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/PooledConnection.java
index 530ed22..13de1af 100644
--- a/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/PooledConnection.java
+++ b/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/PooledConnection.java
@@ -173,7 +173,7 @@
*/
@Override
public Session createSession() throws JMSException {
- throw new UnsupportedOperationException("createSession() is unsupported");
+ throw new UnsupportedOperationException("createSession() is unsupported");
}
/**
@@ -196,9 +196,9 @@
* @since 2.0
*/
@Override
- public Session createSession(int sessionMode) throws JMSException {
- throw new UnsupportedOperationException("createSession(int sessionMode) is unsupported");
- }
+ public Session createSession(int sessionMode) throws JMSException {
+ throw new UnsupportedOperationException("createSession(int sessionMode) is unsupported");
+ }
@Override
public Session createSession(boolean transacted, int ackMode) throws JMSException {
diff --git a/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionFactory.java b/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionFactory.java
index f6490f5..cb9e379 100644
--- a/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionFactory.java
+++ b/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionFactory.java
@@ -93,7 +93,7 @@
@Override
public JMSContext createContext(String userName, String password) {
throw new UnsupportedOperationException("createContext(userName, password) is not supported");
- }
+ }
/**
* @return Returns the JMSContext.
@@ -101,7 +101,7 @@
@Override
public JMSContext createContext(String userName, String password, int sessionMode) {
throw new UnsupportedOperationException("createContext(userName, password, sessionMode) is not supported");
- }
+ }
/**
* @return Returns the JMSContext.
@@ -109,7 +109,7 @@
@Override
public JMSContext createContext(int sessionMode) {
throw new UnsupportedOperationException("createContext(sessionMode) is not supported");
- }
+ }
/**
* @param connectionRequestInfo