This is an automated email from the ASF dual-hosted git repository. mattrpav pushed a commit to branch AMQ-7309 in repository https://gitbox.apache.org/repos/asf/activemq.git
commit 1bb8474d7d8563def4dadceddf076502945a599d Author: Matt Pavlovich <[email protected]> AuthorDate: Wed Nov 3 14:30:23 2021 -0500 [#7309] Minor formatting fixes --- .../apache/activemq/ActiveMQConnectionFactory.java | 36 +++++++++++----------- .../activemq/ActiveMQMessageProducerSupport.java | 18 +++++------ .../apache/activemq/jms/pool/PooledConnection.java | 8 ++--- .../activemq/ra/ActiveMQConnectionFactory.java | 6 ++-- 4 files changed, 34 insertions(+), 34 deletions(-) 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 @@ public class ActiveMQConnectionFactory extends JNDIBaseStorable implements Conne * @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 @@ public abstract class ActiveMQMessageProducerSupport implements MessageProducer, 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 @@ public abstract class ActiveMQMessageProducerSupport implements MessageProducer, * @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 @@ public class PooledConnection implements TopicConnection, QueueConnection, Poole */ @Override public Session createSession() throws JMSException { - throw new UnsupportedOperationException("createSession() is unsupported"); + throw new UnsupportedOperationException("createSession() is unsupported"); } /** @@ -196,9 +196,9 @@ public class PooledConnection implements TopicConnection, QueueConnection, Poole * @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 @@ public class ActiveMQConnectionFactory implements ConnectionFactory, QueueConnec @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 @@ public class ActiveMQConnectionFactory implements ConnectionFactory, QueueConnec @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 @@ public class ActiveMQConnectionFactory implements ConnectionFactory, QueueConnec @Override public JMSContext createContext(int sessionMode) { throw new UnsupportedOperationException("createContext(sessionMode) is not supported"); - } + } /** * @param connectionRequestInfo
