Revision: 14879
Author: emmartins
Date: Mon Oct 25 11:45:00 2010
Log: [No log message]
http://code.google.com/p/mobicents/source/detail?r=14879
Modified:
/trunk/servers/sip-presence/sip-event/server/subscription/sbb/src/main/java/org/mobicents/slee/sipevent/server/subscription/eventlist/NotificationData.java
=======================================
---
/trunk/servers/sip-presence/sip-event/server/subscription/sbb/src/main/java/org/mobicents/slee/sipevent/server/subscription/eventlist/NotificationData.java
Wed Jul 21 05:38:08 2010
+++
/trunk/servers/sip-presence/sip-event/server/subscription/sbb/src/main/java/org/mobicents/slee/sipevent/server/subscription/eventlist/NotificationData.java
Mon Oct 25 11:45:00 2010
@@ -123,8 +123,7 @@
* @return if all required data is added a {...@link MultiPart} will be
returned, otherwise null
*/
public MultiPart notificationDataNotNeeded(String uri) throws
IllegalStateException {
- urisLeft.remove(uri);
- if (urisLeft.isEmpty()) {
+ if(urisLeft.remove(uri) && urisLeft.isEmpty()) {
return buildMultipart();
}
else {