activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject [1/5] activemq-artemis git commit: ARTEMIS-542 removing excessive warning from codebase
Date Wed, 10 Aug 2016 23:56:13 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master b7e5cc484 -> 2ab52da9a


ARTEMIS-542 removing excessive warning from codebase


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/53bb3ea1
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/53bb3ea1
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/53bb3ea1

Branch: refs/heads/master
Commit: 53bb3ea1833cddda6c2ded70d3149286c8207570
Parents: b7e5cc4
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Wed Aug 10 16:09:05 2016 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed Aug 10 16:10:57 2016 -0400

----------------------------------------------------------------------
 .../activemq/artemis/core/client/ActiveMQClientLogger.java       | 4 ----
 .../artemis/core/client/impl/ClientSessionFactoryImpl.java       | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/53bb3ea1/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java
----------------------------------------------------------------------
diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java
index 634d69f..244f76f 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java
@@ -87,10 +87,6 @@ public interface ActiveMQClientLogger extends BasicLogger {
    void failedToConnectToServer(Integer reconnectAttempts);
 
    @LogMessage(level = Logger.Level.WARN)
-   @Message(id = 212006, value = "Waiting {0} milliseconds before next retry. RetryInterval={1}
and multiplier={2}", format = Message.Format.MESSAGE_FORMAT)
-   void waitingForRetry(Long interval, Long retryInterval, Double multiplier);
-
-   @LogMessage(level = Logger.Level.WARN)
    @Message(id = 212007,
       value = "connector.create or connectorFactory.createConnector should never throw an
exception, implementation is badly behaved, but we will deal with it anyway.",
       format = Message.Format.MESSAGE_FORMAT)

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/53bb3ea1/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java
----------------------------------------------------------------------
diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java
index c944fa1..88a20e1 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java
@@ -825,7 +825,7 @@ public class ClientSessionFactoryImpl implements ClientSessionFactoryInternal,
C
                }
 
                if (ClientSessionFactoryImpl.logger.isTraceEnabled()) {
-                  ActiveMQClientLogger.LOGGER.waitingForRetry(interval, retryInterval, retryIntervalMultiplier);
+                  ClientSessionFactoryImpl.logger.trace("Waiting " + interval + " milliseconds
before next retry. RetryInterval=" + retryInterval + " and multiplier=" + retryIntervalMultiplier);
                }
 
                try {


Mime
View raw message