code: @SuppressWarnings("unused")
    public void setAppInfo(String name, String version) {
      if (name == null || version == null) {
        // nothing to do
        return;
      }
  
      this.userAgent = DEFAULT_USER_AGENT + " " + name.trim() + "/" + version.trim();
    }
docs: Sets application's name/version to user agent. For more information about user agent
  refer <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html">#rfc2616</a>.
  
  @param name     Your application name.
  @param version  Your application version.