Reduce cyclomatic complexity while fixing other Sonar issues

So far, matching the longest existing project was done by manually
splitting and re-concatenating the servlet path parameter. Sonar was
complaining about the complexity of the whole method and about
concatenating a string inside a loop.

By using the methods brought by the Java Path API, this process can be
greatly simplified while fixing the performance Sonar issues.

Change-Id: I2f6ca37e06940ef49af92ec28a3b719283e13388
1 file changed
tree: 8bdb8aa64aeb3b53ed4bdb4876c52e79134096dd
  1. src/
  2. tools/
  3. .buckconfig
  4. .gitignore
  5. bazlets.bzl
  6. BUILD
  7. external_plugin_deps.bzl
  8. README.md
  9. 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