Fix projectExists check

Change equality check to work with "Optional" API. Using != null will
not lead to correct result as we need to check the object contained
inside Optional, not Optional itself. isPresent performs a check against
the object contained inside Optional and returns the correct and
desired value.

Bug: Issue 12454
Change-Id: I038e290b88b7599b8290735c96b16828f7f23b71
1 file changed
tree: 7c053571a7c8540f67a0be14d45b2db45f3e0ac8
  1. .settings/
  2. src/
  3. tools/
  4. .bazelignore
  5. .bazelrc
  6. .bazelversion
  7. .gitignore
  8. bazlets.bzl
  9. BUILD
  10. LICENSE
  11. README.md
  12. WORKSPACE
README.md

This plugin allows you to perform go get requests against a Gerrit project.

For more information, see: src/main/resources/Documentation/about.md