anchor.diff:              }              
               String text = currentMessage.getText();
               boolean isSubscriber = fsc.isSubscriber(currentId, userId);
  -            if (!authorNbMessages.containsKey(authorId))
  -            {
  -                nbMessages = fsc.getAuthorNbMessages(authorId);
  -                authorNbMessages.put(authorId,  Integer.valueOf(nbMessages));
  -            }
  -            else
  -            {
  -                nbMessages = ((Integer)authorNbMessages.get(authorId)).intValue();
  +            if (!authorNbMessages.containsKey(authorId)) {
  +              nbMessages = fsc.getAuthorNbMessages(authorId);
  +              authorNbMessages.put(authorId, nbMessages);
  +            }
  +            else {
  +              nbMessages = authorNbMessages.get(authorId);
               }
   %>
   
  
positive.code:                                               <div class="messageActions">
                                                <% if ((isAdmin || isUser) && STATUS_VALIDATE.equals(status)) { %>
                                                    <a href="javascript:replyMessage(<%=currentId%>)"><img src="<%=context%>/util/icons/reply.gif" align="middle" border="0" alt="<%=resource.getString("replyMessage")%>" title="<%=resource.getString("replyMessage")%>"/></a>&nbsp;
  				    						  <%  }
                                                  if (userId.equals(authorId) || isAdmin || isModerator) {
                                                    if (isModerator && STATUS_FOR_VALIDATION.equals(status)) {
                                              %>
  
negative.code:                       	Collection<UploadedFile> uploadedFiles = FileUploadManager.getUploadedFiles(request);
                          int result = fsc.createMessage(messageTitle, userId, forumId, parentId, messageText, null, uploadedFiles);
                          messageId = result;
                      } else {
                          // Modification
                          messageId = params;
                          fsc.updateMessage(messageId, parentId, messageTitle, messageText);
                      }
                      if (subscribe == null) {
                          subscribe = "0";
                      } else {
                          subscribe = "1";
                          if (messageId != 0) {
                              fsc.subscribeMessage(messageId, userId);
                          }
                      }
                      if (parentId > 0) {
                          fsc.deployMessage(parentId);
                      }
                  }
  