]> source.dussan.org Git - jgit.git/commitdiff
Remove the deprecated TestRepository.getClock() method 90/74090/1
authorTerry Parker <tparker@google.com>
Tue, 31 May 2016 17:14:55 +0000 (10:14 -0700)
committerTerry Parker <tparker@google.com>
Tue, 31 May 2016 17:16:53 +0000 (10:16 -0700)
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>
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java

index 25e313cee6695d6de09992b4d1c2ba62b4272131..0a2345f088a2dc48315254ebeb4010cdda7a0ca4 100644 (file)
@@ -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();