diff options
author | Terry Parker <tparker@google.com> | 2016-05-31 10:14:55 -0700 |
---|---|---|
committer | Terry Parker <tparker@google.com> | 2016-05-31 10:16:53 -0700 |
commit | bd63a56da2562ad0f80137aa1cb3ffa0f2296c51 (patch) | |
tree | 4b9ea091987c0a4a88d7043399e99a9af68e5bf2 /org.eclipse.jgit.junit/src | |
parent | 4c236ff4bbf664fd177a33f42517b0eef52510c8 (diff) | |
download | jgit-bd63a56da2562ad0f80137aa1cb3ffa0f2296c51.tar.gz jgit-bd63a56da2562ad0f80137aa1cb3ffa0f2296c51.zip |
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>
Diffstat (limited to 'org.eclipse.jgit.junit/src')
-rw-r--r-- | org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java index 25e313cee6..0a2345f088 100644 --- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java +++ b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java @@ -211,17 +211,6 @@ public class TestRepository<R extends Repository> { 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(); |