Remove @VisibleForTesting annotation on ChangeKindCacheImpl#NoCache

It is not used in any tests.  It is useful when using Gerrit as a
library, so let's make this helper an ordinary public class.

Noticed via an error-prone warning about a Google-internal caller.

Change-Id: I6fe9f8a792b7fa9328f95aa97893bcec78db367a
This commit is contained in:
Jonathan Nieder
2019-01-19 19:32:17 -08:00
parent c15664d439
commit fbd60a46ec

View File

@@ -79,7 +79,6 @@ public class ChangeKindCacheImpl implements ChangeKindCache {
};
}
@VisibleForTesting
public static class NoCache implements ChangeKindCache {
private final boolean useRecursiveMerge;
private final ChangeData.Factory changeDataFactory;