Simplify adding comments

Replace nested ifs with switches and extract helper methods.

This refactoring facilitates the handling of multiple servers which is
done in a follow up change.

Change-Id: Ie7ee92dc9a303d6869fb043dddefb216a47dad34
3 files changed
tree: d01f81ab77c19b8643eae49888c54fdeceff17e3
  1. .settings/
  2. src/
  3. tools/
  4. .gitignore
  5. bazlets.bzl
  6. BUILD
  7. LICENSE
  8. WORKSPACE