Remove the deprecated TestRepository.getClock() method
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>
This commit is contained in:
parent
4c236ff4bb
commit
bd63a56da2
|
@ -211,17 +211,6 @@ public Date getDate() {
|
|||
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();
|
||||
|
|
Loading…
Reference in New Issue