title: check against empty form field
body: <p>I'm pretty new to Java so bear with me. I've got a simple script that processes form data and sends it to the error log. I've got a simple null check that is suppose to say if the phone field isn't filled in don't send it to the error log. But for some reason it's not working. So what I'm getting in the error log is simply the string "Phone number associated with account:" any ideas?</p>
  
  <pre><code>String phone = request.getParameter("phoneNumber");
  String showPhone = (phone != null) ? " Phone number associated with account: " + phone : "";
  
  log.error(showPhone);
  </code></pre>