mirror of https://github.com/apache/activemq.git
removed possible NPE
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c6f73c56d1
commit
2ae7169856
|
@ -99,7 +99,9 @@ public class FailoverTransport implements CompositeTransport {
|
|||
}
|
||||
|
||||
}
|
||||
transportListener.onCommand(command);
|
||||
if (transportListener != null) {
|
||||
transportListener.onCommand(command);
|
||||
}
|
||||
}
|
||||
|
||||
public void onException(IOException error) {
|
||||
|
|
Loading…
Reference in New Issue