Skip to content

Commit

Permalink
avoid NPE on page subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
clebertsuconic committed Jan 20, 2014
1 parent a550397 commit e2ed212
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,22 @@ protected void cleanup()
}

// Public --------------------------------------------------------
/* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString()
{
return "PageSubscriptionCounterImpl [address = " + subscription.getPagingStore().getAddress() + ", queue=" + subscription.getQueue().getName() +
", value = " + value.get() + "]";
return "PageSubscriptionCounterImpl [subscriptionID=" + subscriptionID +
", recordID=" +
recordID +
", subscription=" +
subscription +
", value=" +
value +
", incrementRecords=" +
incrementRecords +
"]";
}


Expand Down

0 comments on commit e2ed212

Please sign in to comment.