Always use shortened name as cache key.

Not doing so causes resource leaks, because it may overwrite cache values
which are then never properly closed. No test, as this error condition
doesn't occur with the standard open-source Gerrit, and open-source
Gerrit has no tracing of leaked resources.

Change-Id: If5bd23c28a6190b29da7d46fac619802f93480fe
1 file changed
tree: 9d25fd52f9d8b95a823a9ab0db5b63d720964cd4
  1. src/
  2. BUILD
  3. LICENSE