if (_log.isDebugEnabled()) {
_log.debug(
"Add user " + curMessageUserId +</BUG>
" to the list of users who have received an email");
<BUG>}
sent.add(curMessageUserId);
}</BUG>
User curMessageUser = null;
try {
<BUG>curMessageUser = userLocalService.getUserById(curMessageUserId);
}</BUG>
catch (NoSuchUserException nsue) {

if (_log.isDebugEnabled()) {
_log.debug(
"Add user " + subscriptorUserId +
" to the list of users who have received an email");
}
sent.add(subscriptorUserId);
User curMessageUser = null;
try {
curMessageUser =
userLocalService.getUserById(subscriptorUserId);
}
catch (NoSuchUserException nsue) {
