Files
gerrit/java/com/google/gerrit/util
Dave Borowitz db47370011 Consistently don't import Id/Key/NameKey/Entry types
These are often ambiguous without their containing class, not to mention
used inconsistently within single class files. Implement a consistent
policy.

After this change there are exactly two remaining:

$ find . -name \*.java | sort | xargs pcregrep '^import.*\.[A-Z][^.]*\.(NameKey|Key|Id|Entry);'
./java/com/google/gerrit/httpd/CacheBasedWebSession.java:import com.google.gerrit.httpd.WebSessionManager.Key;
./javatests/com/google/gerrit/server/change/ChangeKindCacheImplTest.java:import com.google.gerrit.server.change.ChangeKindCacheImpl.Key;

These are corner cases of a specific cache implementation where the Key
type is less ambiguous, and the full name is long.

Change-Id: I1d2e9eb6c7dec0d09ca42b41dc252786d2024a5a
2019-01-15 13:57:43 -08:00
..