Author: alessio.soldano(a)jboss.com
Date: 2008-02-20 12:02:34 -0500 (Wed, 20 Feb 2008)
New Revision: 5753
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManager.java
Log:
[JBWS-1964] Preventing NPE
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManager.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManager.java 2008-02-20
13:15:03 UTC (rev 5752)
+++
stack/native/trunk/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManager.java 2008-02-20
17:02:34 UTC (rev 5753)
@@ -457,7 +457,7 @@
{
for (Subscription s : subscriptions)
{
- pw.println("<tr><td>" + s.getIdentifier() +
"</td><td>" + s.getExpires() + "</td><td>" +
s.getFilter().getExpression() + "</td></tr>");
+ pw.println("<tr><td>" + s.getIdentifier() +
"</td><td>" + s.getExpires() + "</td><td>" +
(s.getFilter()!=null ? s.getFilter().getExpression() : "") +
"</td></tr>");
}
}
pw.println("</table>");