ARTEMIS-1801 Fixing checkstyle after NullCheck fix

This commit is contained in:
Clebert Suconic 2018-05-03 13:07:09 -04:00
parent aac7d6b041
commit 2a3b67d921
2 changed files with 3 additions and 3 deletions

View File

@ -246,7 +246,9 @@ public enum ActiveMQExceptionType {
}, },
NULL_REF(218) { NULL_REF(218) {
@Override @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; private static final Map<Integer, ActiveMQExceptionType> TYPE_MAP;

View File

@ -99,8 +99,6 @@ import org.apache.activemq.artemis.utils.critical.CriticalComponentImpl;
import org.apache.activemq.artemis.utils.critical.EmptyCriticalAnalyzer; import org.apache.activemq.artemis.utils.critical.EmptyCriticalAnalyzer;
import org.jboss.logging.Logger; import org.jboss.logging.Logger;
import static org.apache.activemq.artemis.api.core.ActiveMQExceptionType.NULL_REF;
/** /**
* Implementation of a Queue * Implementation of a Queue
* <p> * <p>