WoTIdentityManager identityManager = (WoTIdentityManager)mFreetalk.getIdentityManager();
WoTMessageManager messageManager = (WoTMessageManager)mFreetalk.getMessageManager();
synchronized(identityManager) {
synchronized (messageManager) {
WoTMessage message = (WoTMessage)messageManager.get(mParentMessage.getID()); // It might have be deleted meanwhile, we must re-query
messageManager.rateMessage((WoTOwnIdentity)mOwnIdentity, message, value);
HTMLNode successBox = addContentBox(l10n().getString("NewReplyPage.RateMessageSucceededBox.Title"));
successBox.addChild("div", l10n().getString("NewReplyPage.RateMessageSucceededBox.Text", "value", Byte.toString(value)));
}
}