Stop adding link caption if it is null or agrees with the url

Formated links were of the form

  url (caption)

and Bugzilla typically autolinked the url. If caption equals with the
url, we ended up with comments as

  http://www.example.org/ (http://www.example.org/)

which is unnecessarily verbose. In such settings (and if no caption is
provided), we no condense the generated link to:

  http://www.example.org/

Bugzilla again autolinks the url, but the description that gave no
additional information is now gone.

Change-Id: I77543aa2c9d34dc4716d7e6e8176f379dafd747c
2 files changed
tree: 123855eec8af6ccea4b874041928a41cb993abc3
  1. src/
  2. .gitignore
  3. LICENSE
  4. pom.xml