anchor.diff:      // Validate input
       Map<String, String> errors = new HashMap<String, String>();
       if (doTest) {
  -        if (from == null) { errors.put("from",""); }
  -        if (to == null) { errors.put("to",""); }
  -        if (subject == null) { errors.put("subject",""); }
  -        if (body == null) { errors.put("body",""); }
  +        if (from == null) {
  +            errors.put("from", "");
  +        }
  +        if (to == null) {
  +            errors.put("to", "");
  +        }
  +        if (subject == null) {
  +            errors.put("subject", "");
  +        }
  +        if (body == null) {
  +            errors.put("body", "");
  +        }
   
           EmailService service = EmailService.getInstance();
   
           // Validate host - at a minimum, it needs to be set:
           String host = service.getHost();
           if (host == null) {
  -            errors.put("host","");
  +            errors.put("host", "");
           }
   
           // if no errors, continue
  
positive.code:     }
  
      // Set var defaults
      User user = webManager.getUserManager().getUser("admin");
      if (from == null) {
          from = user.getEmail();
      }
  
negative.code: <jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager"  />
  <% webManager.init(request, response, session, application, out ); %>
  
  <% // Get paramters
      boolean doTest = request.getParameter("test") != null;
      boolean cancel = request.getParameter("cancel") != null;
      boolean sent = ParamUtils.getBooleanParameter(request, "sent");
      boolean success = ParamUtils.getBooleanParameter(request, "success");
      String from = ParamUtils.getParameter(request, "from");
      String to = ParamUtils.getParameter(request, "to");
      String subject = ParamUtils.getParameter(request, "subject");
      String body = ParamUtils.getParameter(request, "body");
  
      // Cancel if requested
      if (cancel) {
  