anchor.diff:      if (StringUtil.isDefined(nbModeratorsString)) {
         nbModerators = Integer.parseInt(nbModeratorsString);
       }
  -
       boolean scrollToMessage = false;
       boolean displayAllMessages = true;
  -
  -    try
  -    {
  -        switch (action)
  -        {
  +    try {
  +        switch (action) {
               case 1 :
                   // Affichage de la liste
                   messageId = params;
  -                if ("true".equals(request.getParameter("addStat")))
  -                {
  +                if ("true".equals(request.getParameter("addStat"))) {
                       // depuis la page de forums ou de messages
                       int parentId = fsc.getMessageParentId(messageId);
  -                    while (parentId > 0)
  -                    {
  +                    while (parentId > 0) {
                           messageId = parentId;
                           parentId = fsc.getMessageParentId(messageId);
                       }
                       fsc.addMessageStat(messageId, userId);
                       messageId = params;
                   }
  -                if ("true".equals(request.getParameter("changeDisplay")))
  -                {
  +                if ("true".equals(request.getParameter("changeDisplay"))) {
                       // changement du type d'affichage
                       fsc.changeDisplayAllMessages();
                   }
  
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:                                 </div>
                                      <div class="messageContent">
                                        <div class="messageAttachment">
                                          <% 
                                        	out.flush();
                                          String profile = "user";
                                          if (userId.equals(authorId) || isAdmin || isModerator) {
                                            profile = "admin";
                                          }
                                          pageContext.setAttribute("profile", profile);
                                          pageContext.setAttribute("baseCallbackUrl", "/Rforums/"+ instanceId +"/viewMessage.jsp");
                                          %>
                                          <c:url var="callBackUrl" value="${baseCallbackUrl}" context="/">
                                            <c:param name="call" value="${'viewForum'}" />
                                            <c:param name="action" value="1" />
                                            <c:param name="addStat" value="true" />
                                            <c:param name="params"><%=currentMessage.getId()%></c:param>
                                            <c:param name="forumId"><%=currentMessage.getForumId()%></c:param>
                                          </c:url>
                                          <c:import url="/attachment/jsp/displayAttachedFiles.jsp">
                                            <c:param name="Id"><%=currentMessage.getId()%></c:param>
                                            <c:param name="Profile" value="${profile}" />
                                            <c:param name="ComponentId"><%=instanceId%></c:param>
                                            <c:param name="Context" value="${'attachment'}" />
                                            <c:param name="addFileMenu" value="${'true'}" />
                                            <c:param name="dnd" value="${'false'}" />
                                            <c:param name="notI18n" value="${'true'}" />
                                            <c:param name="CallbackUrl" value="${callBackUrl}" />
                                          </c:import>                            
                                        </div>
                                        <%=text%>
                                      </div>                                  
                                    <div class="messageFooter">
                                          <input name="checkbox" type="checkbox" <%if (isSubscriber) {%>checked<%}%>
                                                  onclick="javascript:window.location.href='viewMessage.jsp?action=<%=(isSubscriber ? 13 : 14)%>&params=<%=currentId%>&forumId=<%=forumId%>'"/>
  