mirror of https://github.com/apache/activemq.git
- Added checking for NPE
- Added newline in maven.xml git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386960 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
774cdcf8b5
commit
27ec68d22d
|
@ -140,7 +140,8 @@ public class StompWireFormat implements WireFormat {
|
|||
MessageDispatch md = (MessageDispatch)packet;
|
||||
Message message = md.getMessage();
|
||||
Subscription sub = (Subscription) subscriptionsByConsumerId.get(md.getConsumerId());
|
||||
sub.receive(md, out);
|
||||
if (sub != null)
|
||||
sub.receive(md, out);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -181,6 +181,7 @@
|
|||
<maven:reactor basedir="." goals="test" includes="${maven.multiproject.includes}" ignoreFailures="true"/>
|
||||
|
||||
<j:if test="${!failedProjects.isEmpty()}">
|
||||
<ant:echo> </ant:echo>
|
||||
<ant:echo>There are test failures in the following modules:</ant:echo>
|
||||
<j:forEach var="failedProj" items="${failedProjects}">
|
||||
<ant:echo> ${failedProj} </ant:echo>
|
||||
|
|
Loading…
Reference in New Issue