ARTEMIS-1801 Fixing checkstyle after NullCheck fix
This commit is contained in:
parent
aac7d6b041
commit
2a3b67d921
|
@ -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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue