code: public static String createDeltaMessage(final TasksResult result) {
          StringBuilder summary = new StringBuilder();
          if (result.getNumberOfNewWarnings() > 0) {
              summary.append("<li><a href=\"tasksResult/new\">");
              if (result.getNumberOfNewWarnings() == 1) {
                  summary.append(Messages.Tasks_ResultAction_OneNewWarning());
              }
              else {
                  summary.append(Messages.Tasks_ResultAction_MultipleNewWarnings(result.getNumberOfNewWarnings()));
              }
              summary.append("</a></li>");
          }
          if (result.getNumberOfFixedWarnings() > 0) {
              summary.append("<li><a href=\"tasksResult/fixed\">");
              if (result.getNumberOfFixedWarnings() == 1) {
                  summary.append(Messages.Tasks_ResultAction_OneFixedWarning());
              }
              else {
                  summary.append(Messages.Tasks_ResultAction_MultipleFixedWarnings(result.getNumberOfFixedWarnings()));
              }
              summary.append("</a></li>");
          }
  
          return summary.toString();
      }
docs: CHECKSTYLE:CONSTANTS-OFF