Support loading config from a system property

Refactor config loading support into its own static utility method.
Prefer servlet config parameters where available, then fall back to a
system property, then a default filename (gitiles.config in the
working directory).

Change-Id: I90c734dda3d1e582dbee52efede6b688c9197f14
2 files changed
tree: 35ddbe4ea3a49fea0a0fe7ffb5a849b262744b1a
  1. .settings/
  2. gitiles-servlet/
  3. gitiles-war/
  4. .gitignore
  5. COPYING
  6. pom.xml
  7. README