src/main/java/net/socialgamer/cah/servlets/CahServlet.java
/**
   * Log a message, with the user's name if {@code user} is not null.
   *
   * @param user    The user this log message is about, or {@code null} if unknown.
   * @param message The message to log.
   */
Log a message, with the user's name if  user is not null.
@param user    The user this log message is about, or  null if unknown.
@param message The message to log.
Log a message with the user ' s name if user is not null . @param user The user this log message is about or null if unknown . @param message The message to log .
protected void log(@Nullable final User user, final String message) {
    final String userStr;
    if (user != null) {
      userStr = user.getNickname();
    } else {
      userStr = "unknown user";
    }
    log("For " + userStr + ": " + message);
  }
protected void log ( @ Nullable final User user , final String message ) { final String userStr ; if ( user != null ) { userStr = user . getNickname ( ) ; } else { userStr = "unknown user" ; } log ( "For " + userStr + ": " + message ) ; }
Log a message, with the user's name if {@code user} is not null.
Log a message with the user ' s name if { @code user } is not null .