Make the code build on Java 8

Gerrit v3.4 technically still supports Java 8 and the code
should be compatible with it.

Remove some avoidable Java 11 specific constructs and use the
equivalents in Java 8.

Change-Id: I0ca7e1d1a2b0bd3b7aa004e887c0e626b346d127
2 files changed
tree: 821f1294e9bbd43a4efb85422080c5a9a893a003
  1. example-setup/
  2. src/
  3. .gitignore
  4. BUILD
  5. external_plugin_deps.bzl
  6. Jenkinsfile
  7. LICENSE