Repository: activemq-artemis Updated Branches: refs/heads/master aac7d6b04 -> 2a3b67d92
ARTEMIS-1801 Fixing checkstyle after NullCheck fix Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/2a3b67d9 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/2a3b67d9 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/2a3b67d9 Branch: refs/heads/master Commit: 2a3b67d921720a2105595379c11dcbc6f6f3b0c6 Parents: aac7d6b Author: Clebert Suconic <[email protected]> Authored: Thu May 3 13:07:09 2018 -0400 Committer: Clebert Suconic <[email protected]> Committed: Thu May 3 13:14:50 2018 -0400 ---------------------------------------------------------------------- .../apache/activemq/artemis/api/core/ActiveMQExceptionType.java | 4 +++- .../org/apache/activemq/artemis/core/server/impl/QueueImpl.java | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2a3b67d9/artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQExceptionType.java ---------------------------------------------------------------------- diff --git a/artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQExceptionType.java b/artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQExceptionType.java index 8b083e6..9120d79 100644 --- a/artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQExceptionType.java +++ b/artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQExceptionType.java @@ -246,7 +246,9 @@ public enum ActiveMQExceptionType { }, NULL_REF(218) { @Override - public ActiveMQException createException(String msg) { return new ActiveMQNullRefException(msg); } + public ActiveMQException createException(String msg) { + return new ActiveMQNullRefException(msg); + } }; private static final Map<Integer, ActiveMQExceptionType> TYPE_MAP; http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2a3b67d9/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java ---------------------------------------------------------------------- diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java index 69f73f7..dc77aad 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java @@ -99,8 +99,6 @@ import org.apache.activemq.artemis.utils.critical.CriticalComponentImpl; import org.apache.activemq.artemis.utils.critical.EmptyCriticalAnalyzer; import org.jboss.logging.Logger; -import static org.apache.activemq.artemis.api.core.ActiveMQExceptionType.NULL_REF; - /** * Implementation of a Queue * <p>
