Gitles was the holdout and TestRepository.getClock() was removed via:
https://gerrit.googlesource.com/gitiles/+/
f10481d8384d1695e6981b805c4e5e462e4b71ea
Change-Id: I90c0fc17be4891545b097a49763b0f0c202cc004
Signed-off-by: Terry Parker <tparker@google.com>
return new Date(mockSystemReader.getCurrentTime());
}
- /**
- * @return current date.
- *
- * @deprecated Use {@link #getDate()} instead.
- */
- @Deprecated
- public Date getClock() {
- // Remove once Gitiles and Gerrit are using the updated JGit.
- return getDate();
- }
-
/** @return timezone used for default identities. */
public TimeZone getTimeZone() {
return mockSystemReader.getTimeZone();